mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 17:26:17 +01:00
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:
parent
f10d33064a
commit
30d7eb93c5
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user