Make the generated C code compile.

2005-05-13  Matthias Clasen  <mclasen@redhat.com>

	* src/compiler.c (format_output): Make the generated
	C code compile.

	* README: Point to a recent libffi snapshot.

	* tests/invoke/*: Some invoke tests.

	* src/Makefile: Add ginvoke.c and the necessary
	libffi information.

	* src/girepository.h (g_function_info_invoke): Add
	a GError argument.

	* src/ginvoke.c (g_function_info_invoke): Initial
	implementation of invoke functionality based on libffi.
This commit is contained in:
Matthias Clasen 2005-05-13 15:58:43 +00:00 committed by Evan Welsh
parent f10d33064a
commit 30d7eb93c5

View File

@ -46,6 +46,8 @@ format_output (guchar *metadata,
result = g_string_sized_new (6 * len);
g_string_append_printf (result, "#include <stdlib.h>\n\n");
g_string_append_printf (result, "const unsigned char _G_METADATA[] = \n{");
for (i = 0; i < len; i++)