glib/girepository
Philip Withnall 52ac467426 girepository: Port GIBaseInfo to GTypeInstance
This adds more type safety to libgirepository, and allows
differentiating the `GIBaseInfo` derived types using the type system.

Two new derived types had to be added (previously they were just a
collection of helper methods which worked directly on a `GIBaseInfo` and
didn’t check types): `GICallbackInfo` and `GIUnresolvedInfo`.

Further cleanups and refactoring might be needed on this, but the core
of libgirepository now uses `GTypeInstance` and appears to still work
(it’s difficult to be entirely sure because there are no unit tests
yet).

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #3155
2023-12-12 16:58:04 +00:00
..
cmph tests: Improve build of cmph tests in girepository 2023-11-21 14:21:07 +00:00
cmph-bdz-test.c Merge branch 'leak-fixes' into 'main' 2023-11-14 13:59:58 +00:00
docs.c girepository: Add SPDX license header to all obvious files 2023-10-25 17:10:10 +01:00
gdump.c girepository: Remove redundant GLib version checks 2023-11-08 15:06:21 +00:00
gi-dump-types.c girepository: Add remaining license/copyright SPDX headers 2023-10-25 17:12:25 +01:00
giarginfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
giarginfo.h girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
gibaseinfo-private.h girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
gibaseinfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
gibaseinfo.h girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
gicallableinfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
gicallableinfo.h girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
gicallbackinfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
gicallbackinfo.h girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
giconstantinfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
giconstantinfo.h girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
gienuminfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
gienuminfo.h girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
gifieldinfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
gifieldinfo.h girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
gifunctioninfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
gifunctioninfo.h girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
giinterfaceinfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
giinterfaceinfo.h girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
ginvoke.c girepository: Use subdir paths in #includes 2023-10-25 17:45:42 +01:00
giobjectinfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
giobjectinfo.h girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
gipropertyinfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
gipropertyinfo.h girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
giregisteredtypeinfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
giregisteredtypeinfo.h girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
girepository-private.h girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
girepository.c girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
girepository.h girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
girffi.c girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
girffi.h girepository: Rename symbols to the GI namespace 2023-11-08 15:05:20 +00:00
girmodule-private.h girepository: Remove _ prefix from private functions 2023-11-08 15:23:31 +00:00
girmodule.c girepository: Remove _ prefix from private functions 2023-11-08 15:23:31 +00:00
girnode-private.h girepository: Remove _ prefix from private functions 2023-11-08 15:23:31 +00:00
girnode.c girepository: Remove _ prefix from private functions 2023-11-08 15:23:31 +00:00
giroffsets.c girepository: Remove _ prefix from private functions 2023-11-08 15:23:31 +00:00
girparser-private.h girepository: Remove _ prefix from private functions 2023-11-08 15:23:31 +00:00
girparser.c girepository: Remove _ prefix from private functions 2023-11-08 15:23:31 +00:00
girwriter-private.h girepository: Rename symbols to the GI namespace 2023-11-08 15:05:20 +00:00
girwriter.c girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
gisignalinfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
gisignalinfo.h girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
gistructinfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
gistructinfo.h girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
gitypeinfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
gitypeinfo.h girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
gitypelib-internal.h girepository: Remove _ prefix from private functions 2023-11-08 15:23:31 +00:00
gitypelib.c gitypelib: Add missing introspection annotations in GITypelib 2023-12-12 16:58:04 +00:00
gitypelib.h girepository: Update docs for GITypelib for gi-docgen 2023-12-12 16:58:04 +00:00
gitypes.h girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
giunioninfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
giunioninfo.h girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
giunresolvedinfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
giunresolvedinfo.h girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
givfuncinfo.c girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00
givfuncinfo.h girepository: Rename gi_base_info_get_type() to get_info_type() 2023-12-12 16:58:04 +00:00
gthash-test.c girepository: Remove _ prefix from private functions 2023-11-08 15:23:31 +00:00
gthash.c girepository: Ignore set-but-not-used warnings with G_DISABLE_ASSERT 2023-11-14 10:37:27 +00:00
meson.build girepository: Port GIBaseInfo to GTypeInstance 2023-12-12 16:58:04 +00:00