girepository: Remove _ prefix from private functions

Now that libgirepository uses `GI_AVAILABLE_IN_*` macros, that’s what
controls symbol visibility. The `_` prefixes are redundant, and out of
keeping with the rest of GLib.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #3155
This commit is contained in:
Philip Withnall
2023-11-08 15:23:31 +00:00
parent 7b029e564d
commit 2b544c3f66
26 changed files with 518 additions and 518 deletions

View File

@@ -78,38 +78,38 @@ struct _GIUnresolvedInfo
const gchar *namespace;
};
void _gi_info_init (GIRealInfo *info,
GIInfoType type,
GIRepository *repository,
GIBaseInfo *container,
GITypelib *typelib,
guint32 offset);
void gi_info_init (GIRealInfo *info,
GIInfoType type,
GIRepository *repository,
GIBaseInfo *container,
GITypelib *typelib,
guint32 offset);
GIBaseInfo * _gi_info_from_entry (GIRepository *repository,
GITypelib *typelib,
guint16 index);
GIBaseInfo * gi_info_from_entry (GIRepository *repository,
GITypelib *typelib,
guint16 index);
GIBaseInfo * _gi_info_new_full (GIInfoType type,
GIRepository *repository,
GIBaseInfo *container,
GITypelib *typelib,
guint32 offset);
GIBaseInfo * gi_info_new_full (GIInfoType type,
GIRepository *repository,
GIBaseInfo *container,
GITypelib *typelib,
guint32 offset);
GITypeInfo * _gi_type_info_new (GIBaseInfo *container,
GITypelib *typelib,
guint32 offset);
GITypeInfo * gi_type_info_new (GIBaseInfo *container,
GITypelib *typelib,
guint32 offset);
void _gi_type_info_init (GIBaseInfo *info,
GIBaseInfo *container,
GITypelib *typelib,
guint32 offset);
void gi_type_info_init (GIBaseInfo *info,
GIBaseInfo *container,
GITypelib *typelib,
guint32 offset);
GIFunctionInfo * _gi_base_info_find_method (GIBaseInfo *base,
guint32 offset,
gint n_methods,
const gchar *name);
GIFunctionInfo * gi_base_info_find_method (GIBaseInfo *base,
guint32 offset,
gint n_methods,
const gchar *name);
GIVFuncInfo * _gi_base_info_find_vfunc (GIRealInfo *rinfo,
guint32 offset,
gint n_vfuncs,
const gchar *name);
GIVFuncInfo * gi_base_info_find_vfunc (GIRealInfo *rinfo,
guint32 offset,
gint n_vfuncs,
const gchar *name);