diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-05-13 15:58:43 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-05-13 15:58:43 +0000 |
commit | 22580d644fece9a3c6cfa661650bdf0bcc31b8ea (patch) | |
tree | 4eed68ec5f2cf77270e87cc98c657f139dd381ce /README | |
parent | 2da6da480049d90b1d3e220c114c369d8c6b5f5e (diff) | |
download | gobject-introspection-22580d644fece9a3c6cfa661650bdf0bcc31b8ea.tar.gz |
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.
Diffstat (limited to 'README')
-rw-r--r-- | README | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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). |