mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 08:58:54 +02:00
Remove all uses of G_CONST_RETURN
Just use 'const'.
This commit is contained in:
@@ -71,7 +71,7 @@ gboolean g_module_close (GModule *module);
|
||||
void g_module_make_resident (GModule *module);
|
||||
|
||||
/* query the last module error as a string */
|
||||
G_CONST_RETURN gchar* g_module_error (void);
|
||||
const gchar * g_module_error (void);
|
||||
|
||||
/* retrieve a symbol pointer from `module', returns TRUE on success */
|
||||
gboolean g_module_symbol (GModule *module,
|
||||
@@ -79,7 +79,7 @@ gboolean g_module_symbol (GModule *module,
|
||||
gpointer *symbol);
|
||||
|
||||
/* retrieve the file name from an existing module */
|
||||
G_CONST_RETURN gchar* g_module_name (GModule *module);
|
||||
const gchar * g_module_name (GModule *module);
|
||||
|
||||
/* Build the actual file name containing a module. `directory' is the
|
||||
* directory where the module file is supposed to be, or NULL or empty
|
||||
|
Reference in New Issue
Block a user