GNOME Bugzilla – Bug 560251
[PATCH] Split g_ir_ffi_get_ffi_type() out from ginvoke.c
Last modified: 2015-02-07 16:54:50 UTC
Extract a function to convert GITypeTag to ffi_type from the internals of ginvoke.c. This will be useful in figure out structure alignment. Also fix handling of gsize and time_t to be portable. (Add a check to configure.ac to figure out the width of time_t.)
Created attachment 122371 [details] [review] Patch as described
Looks ok; a random thought is to split off g_function_info_invoke into girffi.h too.
I think it's better to keep girffi.h an uninstalled header until there are concrete use cases outside of gobject-introspection. Plus g_function_info_invoke() is a bit different in that it doesn't reveal that libffi is involved ... it could be reimplemented using different technology internally. Patch pushed to svn.
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]