diff options
author | Johan Dahlin <johan@gnome.org> | 2010-07-28 09:01:33 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-07-28 09:01:33 -0300 |
commit | cbdd9ee09e367e4dd76d6d8a9a20bf714f794c20 (patch) | |
tree | cb8fa63445581c8459d4df2492eb87dcea6407aa /girepository/girepository-private.h | |
parent | f78812bca2afcdbe7ff9434ae0607cb553bce61e (diff) | |
download | gobject-introspection-cbdd9ee09e367e4dd76d6d8a9a20bf714f794c20.tar.gz |
[girepository-private] Add ffi declarations
Add declarations for the ffi closure api we're using, this silents
GCC warnings on systems with broken ffi headers.
Diffstat (limited to 'girepository/girepository-private.h')
-rw-r--r-- | girepository/girepository-private.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/girepository/girepository-private.h b/girepository/girepository-private.h index 8382f408..e2810d26 100644 --- a/girepository/girepository-private.h +++ b/girepository/girepository-private.h @@ -110,4 +110,13 @@ GIVFuncInfo * _g_base_info_find_vfunc (GIRealInfo *rinfo, ffi_type * _gi_type_tag_get_ffi_type (GITypeTag type_tag, gboolean is_pointer); +extern ffi_status ffi_prep_closure_loc (ffi_closure *, + ffi_cif *, + void (*fun)(ffi_cif *, void *, void **, void *), + void *user_data, + void *codeloc); +extern void *ffi_closure_alloc (size_t size, void **code); +extern void ffi_closure_free (void *); + + #endif /* __GIREPOSITORY_PRIVATE_H__ */ |