glib/girepository/tests
Philip Withnall 9debaffe0e gibaseinfo: Remove need for casting for gi_base_info_ref() and unref()
Just like is done with `g_object_{ref,unref}()`, make these functions
take a `void*` rather than a `GIBaseInfo*`, since they’ll most likely be
called with a type which is derived from `GIBaseInfo*` rather than a
`GIBaseInfo*` itself.

Add some runtime type checks to make up for lowering the compile time
type safety.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Helps: #3216
2024-01-18 13:15:22 +00:00
..
cmph-bdz.c cmph-bdz-test: Use more size_t 2024-01-16 18:56:57 +01:00
gthash.c girrepository: Use standard int sized types instead of g[u]int* 2024-01-16 18:40:42 +01:00
meson.build girepository: Move cmph-bdz test to tests subfolder 2024-01-15 21:26:40 +00:00
repository-search-paths.c girepository: Use an array to iterate over and return the search paths 2023-12-21 14:14:27 +01:00
repository.c gibaseinfo: Remove need for casting for gi_base_info_ref() and unref() 2024-01-18 13:15:22 +00:00