repository: Add new public gi_type_info_extract_ffi_return_value() API
authorColin Walters <walters@verbum.org>
Thu, 16 Feb 2012 21:58:59 +0000 (16:58 -0500)
committerColin Walters <walters@verbum.org>
Mon, 5 Mar 2012 14:56:56 +0000 (09:56 -0500)
commitc2fc7cb45243aa9e0e1e5569cc742f69c76a671a
tree7f9c5d292a4e71446d6071b7bb235383ba9ca989
parentbf71aba06ccbd3ae4b49133724389cf76108f6d9
repository: Add new public gi_type_info_extract_ffi_return_value() API

Dealing with FFI and return values is very tricky; this API allows
sharing the bits to do it between gobject-introspection and gjs (and
potentially other FFI binding consumers).

**NOTE** I swapped the order of the arguments, under the premise that
out arguments should generally be last.

https://bugzilla.gnome.org/show_bug.cgi?id=668902
girepository/gicallableinfo.c
girepository/girffi.h