Low-level core library that forms the basis for projects such as GTK+ and GNOME.
Go to file
Philip Chimento b68a03b9b6 girffi: Add gi_type_tag_extract_ffi_return_value()
This new API does the same thing as gi_type_info_extract_ffi_return_value,
but takes a GITypeTag instead of GITypeInfo pointer, and additionally a
GIInfoType if the GITypeTag is GI_TYPE_TAG_INTERFACE. (These pieces of
data are the only things used from the GITypeInfo structure.)

It's intended for bindings using an argument cache, such as GJS and
PyGObject, so that they don't have to store a whole 64-bit GITypeInfo
pointer in their cache in many common cases, and can just store the 5-bit
type tag instead, or the 5-bit interface type in case of
GI_TYPE_TAG_INTERFACE.

The original gi_type_info_extract_ffi_return_value() is reimplemented in
terms of the new gi_type_tag_extract_ffi_return_value().
2022-02-13 12:25:18 +00:00
cmph cmph: Handle fgets() return value 2022-01-11 15:59:43 +00:00
cmph-bdz-test.c Drop calls to g_type_init() 2012-10-16 10:58:08 -04:00
docs.c docs: Remove everything not related to libgirepository and restructure. Fixes #244 2018-12-14 11:29:11 +01:00
gdump.c Add "final" class attribute 2021-08-05 16:24:23 +00:00
gi-dump-types.c meson: also build gi-dump-types on Windows 2020-05-19 19:39:34 +02:00
giarginfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
giarginfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gibaseinfo.c baseinfo: don't abort when calling g_base_info_get_name() on a GITypeInfo. Fixes #96 2018-12-15 23:33:32 +00:00
gibaseinfo.h docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
gicallableinfo.c girffi: Add gi_type_tag_extract_ffi_return_value() 2022-02-13 12:25:18 +00:00
gicallableinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
giconstantinfo.c Use g_memdup2() with newer versions of GLib 2021-03-12 18:55:44 +00:00
giconstantinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gienuminfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
gienuminfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gifieldinfo.c docs: Field offsets are in the units of bytes 2018-12-14 16:28:58 +01:00
gifieldinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gifunctioninfo.c Property accessors work for interfaces and objects 2021-08-05 17:47:29 +01:00
gifunctioninfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
giinterfaceinfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
giinterfaceinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
ginvoke.c Initialise argument 2021-06-24 18:17:56 +00:00
giobjectinfo.c Add "final" class attribute 2021-08-05 16:24:23 +00:00
giobjectinfo.h Add "final" class attribute 2021-08-05 16:24:23 +00:00
gipropertyinfo.c Use a macro for the missing accessor sentinel value 2021-08-05 17:47:29 +01:00
gipropertyinfo.h Add introspection data for property accessors 2021-08-05 17:47:29 +01:00
giregisteredtypeinfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
giregisteredtypeinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
girepository-private.h build: enable -Wredundant-decls 2018-07-29 18:57:03 +02:00
girepository.c girepository: avoids segfault in case of bad gtype 2022-01-12 05:43:00 +00:00
girepository.h girepository: Return pointer array for interface cache 2019-06-20 11:54:10 -07:00
girffi.c Remove runtime warnings, add doxygen deprecation notices 2021-11-23 23:04:26 +00:00
girffi.h girffi: Add gi_type_tag_extract_ffi_return_value() 2022-02-13 12:25:18 +00:00
girmodule.c girepository: Use constant time calculation for sections after Object fields 2015-10-10 17:41:24 -04:00
girmodule.h Add Emacs mode lines to C sources 2012-02-03 13:42:56 -05:00
girnode.c Improve readability of error message 2021-08-05 17:47:29 +01:00
girnode.h Add introspection data for property accessors 2021-08-05 17:47:29 +01:00
giroffsets.c docs: fix up reference docs a bit 2013-10-10 16:48:51 -04:00
girparser.c Add "forever" scope 2022-01-09 19:21:01 +00:00
girparser.h Add Emacs mode lines to C sources 2012-02-03 13:42:56 -05:00
girwriter.c Add "forever" scope 2022-01-09 19:21:01 +00:00
girwriter.h Add Emacs mode lines to C sources 2012-02-03 13:42:56 -05:00
gisignalinfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
gisignalinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gistructinfo.c structinfo: Fix offset in find_method() 2019-08-14 23:17:54 +02:00
gistructinfo.h docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
gitypeinfo.c girepository: Fix documentation comments 2022-02-13 12:25:18 +00:00
gitypeinfo.h gitypeinfo: Add GI_TYPE_TAG_IS_CONTAINER macro 2022-02-13 12:25:18 +00:00
gitypelib-internal.h girepository: Clarify SimpleTypeBlob documentation 2022-02-13 12:25:18 +00:00
gitypelib.c gitypelib.c: on macOS, treat @-prefixed shlib paths as absolute 2021-11-27 20:52:07 +01:00
gitypelib.h docs: Remove everything not related to libgirepository and restructure. Fixes #244 2018-12-14 11:29:11 +01:00
gitypes.h gitypeinfo: Add GI_TYPE_TAG_IS_CONTAINER macro 2022-02-13 12:25:18 +00:00
giunioninfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
giunioninfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
giversion.c girepository: Add version macros and functions. Fixes #200 2018-12-16 12:51:58 +01:00
giversion.h.in girepository: Add version macros and functions. Fixes #200 2018-12-16 12:51:58 +01:00
giversionmacros.h Do not use GLib versioning symbols 2021-11-24 16:41:01 +00:00
givfuncinfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
givfuncinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gthash-test.c Drop calls to g_type_init() 2012-10-16 10:58:08 -04:00
gthash.c build: enable -Wtype-limits 2018-07-29 18:57:03 +02:00
meson.build Make test suite work with cross-related options 2021-05-23 12:56:21 -04:00