mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +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
|
* Returns: %TRUE on success, %FALSE on error
|
||||||
*/
|
*/
|
||||||
#ifndef G_IREPOSITORY_COMPILATION
|
#ifndef G_IREPOSITORY_COMPILATION
|
||||||
static
|
static gboolean
|
||||||
#endif
|
dump_irepository (const char *arg, GError **error)
|
||||||
|
#else
|
||||||
gboolean
|
gboolean
|
||||||
g_irepository_dump (const char *arg, GError **error)
|
g_irepository_dump (const char *arg, GError **error)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
GHashTable *output_types;
|
GHashTable *output_types;
|
||||||
char **args;
|
char **args;
|
||||||
|
Loading…
Reference in New Issue
Block a user