mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 00:06:24 +01:00
[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.
This commit is contained in:
parent
c93fbff870
commit
899718c93c
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user