mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
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:
@@ -88,8 +88,8 @@ gi_interface_info_get_prerequisite (GIInterfaceInfo *info,
|
||||
|
||||
blob = (InterfaceBlob *)&rinfo->typelib->data[rinfo->offset];
|
||||
|
||||
return _gi_info_from_entry (rinfo->repository,
|
||||
rinfo->typelib, blob->prerequisites[n]);
|
||||
return gi_info_from_entry (rinfo->repository,
|
||||
rinfo->typelib, blob->prerequisites[n]);
|
||||
}
|
||||
|
||||
|
||||
@@ -228,7 +228,7 @@ gi_interface_info_find_method (GIInterfaceInfo *info,
|
||||
+ (blob->n_prerequisites + (blob->n_prerequisites % 2)) * 2
|
||||
+ blob->n_properties * header->property_blob_size;
|
||||
|
||||
return _gi_base_info_find_method ((GIBaseInfo*)info, offset, blob->n_methods, name);
|
||||
return gi_base_info_find_method ((GIBaseInfo*)info, offset, blob->n_methods, name);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -412,7 +412,7 @@ gi_interface_info_find_vfunc (GIInterfaceInfo *info,
|
||||
+ blob->n_methods * header->function_blob_size
|
||||
+ blob->n_signals * header->signal_blob_size;
|
||||
|
||||
return _gi_base_info_find_vfunc (rinfo, offset, blob->n_vfuncs, name);
|
||||
return gi_base_info_find_vfunc (rinfo, offset, blob->n_vfuncs, name);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -495,8 +495,8 @@ gi_interface_info_get_iface_struct (GIInterfaceInfo *info)
|
||||
blob = (InterfaceBlob *)&rinfo->typelib->data[rinfo->offset];
|
||||
|
||||
if (blob->gtype_struct)
|
||||
return (GIStructInfo *) _gi_info_from_entry (rinfo->repository,
|
||||
rinfo->typelib, blob->gtype_struct);
|
||||
return (GIStructInfo *) gi_info_from_entry (rinfo->repository,
|
||||
rinfo->typelib, blob->gtype_struct);
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user