glib/girepository
Philip Withnall 5423bf4df7 girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE
This means they’re now using the `GType` type system rather than the old
`GIInfoType` type system. Given the preceding few commits, these two
systems should now be equivalent.

This makes the type handling more conventional and hence a bit simpler
for people to use if they have experience with GObject.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Helps: #3216
2024-01-18 13:15:22 +00:00
..
cmph girrepository: Use standard int sized types instead of g[u]int* 2024-01-16 18:40:42 +01:00
tests cmph-bdz-test: Use more size_t 2024-01-16 18:56:57 +01:00
tools g-ir-compiler: Fix leaks in write_out_typelib 2024-01-15 22:44:41 -08:00
gdump.c girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
gi-dump-types.c girepository: Replace tabs with spaces in indentation 2024-01-16 17:30:37 +01:00
giarginfo.c giarginfo: Return indexes as uints 2024-01-17 10:36:45 +00:00
giarginfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
gibaseinfo-private.h gibaseinfo: Allow parent types to be specified for derived types 2024-01-18 13:15:22 +00:00
gibaseinfo.c giregisteredtypeinfo: Make abstract and add subtypes 2024-01-18 13:15:22 +00:00
gibaseinfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
giboxedinfo.c giboxedinfo: Add a tag type for boxed types 2024-01-18 13:15:22 +00:00
giboxedinfo.h giboxedinfo: Add a tag type for boxed types 2024-01-18 13:15:22 +00:00
gicallableinfo.c girepository: Ensure indexed access on members is not overflowing 2024-01-16 18:40:42 +01:00
gicallableinfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
gicallbackinfo.c gicallbackinfo: Port documentation to gi-docgen and update 2023-12-18 14:14:15 +00:00
gicallbackinfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
giconstantinfo.c girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
giconstantinfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
gienuminfo.c girepository: Split GIValueInfo out of gienuminfo.c 2024-01-18 13:15:22 +00:00
gienuminfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
gifieldinfo.c girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
gifieldinfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
giflagsinfo.c gienuminfo: Split out GIFlagsInfo as a derived type 2024-01-18 13:15:22 +00:00
giflagsinfo.h gienuminfo: Split out GIFlagsInfo as a derived type 2024-01-18 13:15:22 +00:00
gifunctioninfo.c girepository: Use expected signed types for iterating 2024-01-16 18:40:42 +01:00
gifunctioninfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
giinterfaceinfo.c girepository: Use expected signed types for iterating 2024-01-16 18:40:42 +01:00
giinterfaceinfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
ginvoke.c girrepository: Use standard int sized types instead of g[u]int* 2024-01-16 18:40:42 +01:00
giobjectinfo.c girepository: Use expected signed types for iterating 2024-01-16 18:40:42 +01:00
giobjectinfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
gipropertyinfo.c gipropertyinfo: Port documentation to gi-docgen and update 2023-12-18 14:14:15 +00:00
gipropertyinfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
giregisteredtypeinfo.c girepository: Use char instead of glib-specific gchar 2024-01-16 18:40:42 +01:00
giregisteredtypeinfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
girepository-private.h giregisteredtypeinfo: Make abstract and add subtypes 2024-01-18 13:15:22 +00:00
girepository.c girepository: Various indentation cleanups 2024-01-16 18:56:57 +01:00
girepository.h giboxedinfo: Add a tag type for boxed types 2024-01-18 13:15:22 +00:00
girffi.c girepository: Use expected signed types for iterating 2024-01-16 18:40:42 +01:00
girffi.h girrepository: Use void* instead of gpointer 2024-01-16 18:40:37 +01:00
girmodule-private.h girepository: Various indentation cleanups 2024-01-16 18:56:57 +01:00
girmodule.c girmodule: Ensure we actually use unsigned for gi_ir_module_fatal line 2024-01-16 18:40:42 +01:00
girnode-private.h giroffsets: Uniformly handle alignments as size_t 2024-01-18 13:09:29 +00:00
girnode.c girnode: Use size_t to compute gir node size and ensure value is valid 2024-01-16 18:40:42 +01:00
giroffsets.c giroffsets: Uniformly handle alignments as size_t 2024-01-18 13:09:29 +00:00
girparser-private.h girepository: Use char instead of glib-specific gchar 2024-01-16 18:40:42 +01:00
girparser.c girepository: Various indentation cleanups 2024-01-16 18:56:57 +01:00
girwriter-private.h girepository: Rename symbols to the GI namespace 2023-11-08 15:05:20 +00:00
girwriter.c giarginfo: Return indexes as uints 2024-01-17 10:36:45 +00:00
gisignalinfo.c gisignalinfo: Port documentation to gi-docgen and update 2023-12-18 14:14:16 +00:00
gisignalinfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
gistructinfo.c gistructinfo: Use proper types for offset lookup 2024-01-16 18:40:42 +01:00
gistructinfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
gitypeinfo.c gitypeinfo: Change gi_type_info_get_array_length_index() to return uint 2024-01-16 23:26:02 +00:00
gitypeinfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
gitypelib-internal.h gitypelib: Replace gi_typelib_check_format with compile-time static checks only 2024-01-16 18:40:42 +01:00
gitypelib.c gitypelib: Replace gi_typelib_check_format with compile-time static checks only 2024-01-16 18:40:42 +01:00
gitypelib.h girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
gitypes.h giboxedinfo: Add a tag type for boxed types 2024-01-18 13:15:22 +00:00
giunioninfo.c girepository: Use size_t for size-related arguments and return types 2024-01-16 18:40:42 +01:00
giunioninfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
giunresolvedinfo.c giunresolvedinfo: Port documentation to gi-docgen and update 2023-12-18 14:14:16 +00:00
giunresolvedinfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
givalueinfo.c girepository: Split GIValueInfo out of gienuminfo.c 2024-01-18 13:15:22 +00:00
givalueinfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
givfuncinfo.c girepository: Various indentation cleanups 2024-01-16 18:56:57 +01:00
givfuncinfo.h girepository: Rework IS_(type) macros to use G_TYPE_CHECK_INSTANCE_TYPE 2024-01-18 13:15:22 +00:00
gthash.c girrepository: Use standard int sized types instead of g[u]int* 2024-01-16 18:40:42 +01:00
meson.build giboxedinfo: Add a tag type for boxed types 2024-01-18 13:15:22 +00:00