summaryrefslogtreecommitdiff
path: root/girepository/girffi.h
Commit message (Collapse)AuthorAgeFilesLines
* docs: fix up reference docs a bitDieter Verfaillie2013-10-101-1/+17
| | | | | | | | | | | | | - require GTK-Doc 1.19 - remove sgml mode - automatically generate gi.types (needs GTK-Doc 1.19) - fix https://bugzilla.gnome.org/show_bug.cgi?id=700025 [WIP] - rearange sections a bit [WIP] - add gi-building, gi-programming sections [WIP] - mark missing docs with TODO, which is only marginaly better than nothing but at least can be grepped :) https://bugzilla.gnome.org/show_bug.cgi?id=571648
* repository: Add new public gi_type_info_extract_ffi_return_value() APIColin Walters2012-03-051-0/+6
| | | | | | | | | | | 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
* Add Emacs mode lines to C sourcesColin Walters2012-02-031-1/+2
|
* girffi: Add new g_function_invoker_new_for_addressJasper St. Pierre2012-02-031-0/+5
| | | | | This is a new method designed to make a GIFunctionInvoker for any GICallableInfo*, for bindings to use.
* Export gi_type_tag_get_ffi_typeColin Walters2010-11-091-0/+2
| | | | | | This is needed by the offsets code, and is generally useful. We need to export it for a future patch which won't export symbols with a leading _.
* [girepository] Document most of the structsJohan Dahlin2010-05-181-1/+6
|
* [girepository] Remove trailing whitespaceJohan Dahlin2010-03-241-2/+2
|
* The private header should be included in girffi.cJohan Dahlin2009-12-311-1/+0
| | | | Not in the public girffi.h.
* Add missing include girffi-private.hJohan Dahlin2009-12-311-1/+2
|
* [girffi] Clean up API, add g_function_info_prep_invokerColin Walters2009-12-161-5/+18
| | | | | | | | | | | | | | Rather than having bindings use g_function_info_invoke, which is basically a toy/demo API, export a convenience utility function which takes the introspection information and sets up things we need to pass to libffi. Then invocation can be done directly to libffi by a binding. As part of this work, remove some (unused by gjs) public functions from the girffi API, and instead export a function to map to libffi which can work semi-correctly. https://bugzilla.gnome.org/show_bug.cgi?id=604074
* Add g_ir_ffi_convert_argumentsTomeu Vizoso2009-11-121-0/+2
|
* Add utility functions for invocing closures given a GICallableInfo usingJohan Dahlin2009-02-051-1/+14
| | | | | | | | | | | | | | | 2009-02-04 Johan Dahlin <jdahlin@async.com.br> * girepository/Makefile.am: * girepository/girffi.c (g_callable_info_get_ffi_arg_types), (g_callable_info_get_ffi_return_type), (g_callable_info_prepare_closure), (g_callable_info_free_closure): * girepository/girffi.h: Add utility functions for invocing closures given a GICallableInfo using libffi. svn path=/trunk/; revision=1084
* Split g_ir_ffi_get_ffi_type() out from ginvoke.cOwen Taylor2008-11-111-0/+33
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.) svn path=/trunk/; revision=873