girepository: Add get_type() wrapper macros

This makes `GIBaseInfo` and derived types more consistent with GObject
convention, and thus a bit more comfortable to use.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Helps: #3216
This commit is contained in:
Philip Withnall
2024-01-17 14:15:23 +00:00
parent 9377a0dd54
commit 8e3d98fc98
18 changed files with 36 additions and 0 deletions

View File

@@ -32,6 +32,8 @@
G_BEGIN_DECLS
#define GI_TYPE_STRUCT_INFO (gi_struct_info_get_type ())
/**
* GI_IS_STRUCT_INFO:
* @info: an info structure