mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
scanner: Rename g_irepository_dump when included from the dumper
This avoids a naming conflict when compiling GiRepository.gir, where g_irepository_dump() was defined in an included header.
This commit is contained in:
parent
0e05b14044
commit
66f164c0ea
6
gdump.c
6
gdump.c
@ -381,10 +381,12 @@ dump_type (GType type, const char *symbol, GOutputStream *out)
|
||||
* Returns: %TRUE on success, %FALSE on error
|
||||
*/
|
||||
#ifndef G_IREPOSITORY_COMPILATION
|
||||
static
|
||||
#endif
|
||||
static gboolean
|
||||
dump_irepository (const char *arg, GError **error)
|
||||
#else
|
||||
gboolean
|
||||
g_irepository_dump (const char *arg, GError **error)
|
||||
#endif
|
||||
{
|
||||
GHashTable *output_types;
|
||||
char **args;
|
||||
|
Loading…
Reference in New Issue
Block a user