Low-level core library that forms the basis for projects such as GTK+ and GNOME.
Go to file
Simon Feltman 220fbf35b8 girepository: Use constant time calculation for sections after Object fields
Add "n_field_callbacks" to ObjectBlob which represents the number of object
fields which are also callbacks. This a allows a constant time computation
for accessing sections after fields. Track writing of this field by passing
an extra argument through the girnode writers recursive call structure. This
essentally reverts a portion of commit 7027bb256d0d1ab which added a linear
time computation for accessing sections after fields.
Update typelib validator to also ensure n_field_callbacks is properly set.

https://bugzilla.gnome.org/show_bug.cgi?id=700338
2015-10-10 17:41:24 -04:00
cmph girepository: Drop executable bits from cmph .[ch] files 2015-10-04 11:58:12 -04:00
cmph-bdz-test.c Drop calls to g_type_init() 2012-10-16 10:58:08 -04:00
docs.c docs: fix up reference docs a bit 2013-10-10 16:48:51 -04:00
gdump.c g_irepository_dump: Update doc to match code 2013-06-05 13:43:12 -04:00
gi-dump-types.c Drop calls to g_type_init() 2012-10-16 10:58:08 -04:00
giarginfo.c girepository: Include config.h First in All Sources 2014-07-07 09:24:12 +08:00
giarginfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gibaseinfo.c girepository: Include config.h First in All Sources 2014-07-07 09:24:12 +08:00
gibaseinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gicallableinfo.c girepository: Support GError exceptions on callbacks 2015-06-21 13:01:25 -07:00
gicallableinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
giconstantinfo.c girepository: Include config.h First in All Sources 2014-07-07 09:24:12 +08:00
giconstantinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gienuminfo.c girepository: Include config.h First in All Sources 2014-07-07 09:24:12 +08:00
gienuminfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gifieldinfo.c girepository: Include config.h First in All Sources 2014-07-07 09:24:12 +08:00
gifieldinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gifunctioninfo.c girepository: Include config.h First in All Sources 2014-07-07 09:24:12 +08:00
gifunctioninfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
giinterfaceinfo.c girepository: Include config.h First in All Sources 2014-07-07 09:24:12 +08:00
giinterfaceinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
ginvoke.c girepository: Include config.h First in All Sources 2014-07-07 09:24:12 +08:00
giobjectinfo.c girepository: Use constant time calculation for sections after Object fields 2015-10-10 17:41:24 -04:00
giobjectinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gipropertyinfo.c girepository: Include config.h First in All Sources 2014-07-07 09:24:12 +08:00
gipropertyinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
giregisteredtypeinfo.c girepository: Include config.h First in All Sources 2014-07-07 09:24:12 +08:00
giregisteredtypeinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
girepository-private.h girepository: Use g_atomic for refcounting 2013-04-02 12:10:33 -04:00
girepository.c girepository: Add missing include 2015-09-26 11:51:33 -04:00
girepository.h girepository: Add g_irepository_get_immediate_dependencies() 2015-02-16 08:49:28 +00:00
girffi.c docs: fix up reference docs a bit 2013-10-10 16:48:51 -04:00
girffi.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08: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 girepository: Use constant time calculation for sections after Object fields 2015-10-10 17:41:24 -04:00
girnode.h girepository: Use constant time calculation for sections after Object fields 2015-10-10 17:41:24 -04:00
giroffsets.c docs: fix up reference docs a bit 2013-10-10 16:48:51 -04:00
girparser.c girparser: Avoid a crash with an unset transfer annotation 2015-10-04 12:00:23 -04:00
girparser.h Add Emacs mode lines to C sources 2012-02-03 13:42:56 -05:00
girwriter.c girepository: Support GError exceptions on callbacks 2015-06-21 13:01:25 -07:00
girwriter.h Add Emacs mode lines to C sources 2012-02-03 13:42:56 -05:00
gisignalinfo.c girepository: Include config.h First in All Sources 2014-07-07 09:24:12 +08:00
gisignalinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gistructinfo.c girepository: Add g_struct_info_find_field() 2015-06-21 13:01:25 -07:00
gistructinfo.h girepository: Add g_struct_info_find_field() 2015-06-21 13:01:25 -07:00
gitypeinfo.c gitypeinfo: Expand documentation for g_type_info_is_pointer() 2015-09-26 11:37:15 -04:00
gitypeinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gitypelib-internal.h girepository: Use constant time calculation for sections after Object fields 2015-10-10 17:41:24 -04:00
gitypelib.c girepository: Use constant time calculation for sections after Object fields 2015-10-10 17:41:24 -04:00
gitypelib.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gitypes.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
giunioninfo.c girepository: Include config.h First in All Sources 2014-07-07 09:24:12 +08:00
giunioninfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
giversionmacros.h girepository: Add g_irepository_get_immediate_dependencies() 2015-02-16 08:49:28 +00:00
givfuncinfo.c girepository: Include config.h First in All Sources 2014-07-07 09:24:12 +08: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 typelib compiler: properly initialise memory 2013-12-30 22:31:53 -05:00