From 22580d644fece9a3c6cfa661650bdf0bcc31b8ea Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 13 May 2005 15:58:43 +0000 Subject: Make the generated C code compile. 2005-05-13 Matthias Clasen * 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. --- README | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index 1f07049a..e17c5ad0 100644 --- a/README +++ b/README @@ -3,7 +3,7 @@ This is a very first prototype of an introspection framework for GObject. The metadata format is described in metadata-format.txt, the XML IDL format follows the DTD in gidl.dtd. Look at the files in tests/ for IDL examples. -The code in src/ currently produces three things: +The code in src/ currently produces four things: - g-idl-compile, a metadata compiler. It converts one or more IDL files into one or more metadata blobs. It can either emit the raw metadata blob (--raw) or C code (--code). @@ -11,6 +11,9 @@ The code in src/ currently produces three things: - g-idl-generate, an IDL generator, using the repository API. It generates IDL files from binary metadata which can be in a shared object, or a raw metadata blob (--raw). +- a function to invoke functions, given the function info object. The + implementation is based on libffi (a recent snapshot of libffi can + be found at http://spindazzle.org/libffi-green.tar.gz). There are a number of IDL test files in test/, and a script to do roundtrip tests (IDL -> binary -> IDL). -- cgit v1.2.1