mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-21 17:37:53 +02:00
Rename all visibility macros
This commit is contained in:
@@ -901,10 +901,10 @@ g_module_build_path (const gchar *directory,
|
||||
|
||||
/* Binary compatibility versions. Not for newly compiled code. */
|
||||
|
||||
_GLIB_EXTERN GModule * g_module_open_utf8 (const gchar *file_name,
|
||||
GModuleFlags flags);
|
||||
_GMODULE_EXTERN GModule * g_module_open_utf8 (const gchar *file_name,
|
||||
GModuleFlags flags);
|
||||
|
||||
_GLIB_EXTERN const gchar *g_module_name_utf8 (GModule *module);
|
||||
_GMODULE_EXTERN const gchar *g_module_name_utf8 (GModule *module);
|
||||
|
||||
GModule*
|
||||
g_module_open_utf8 (const gchar *file_name,
|
||||
|
@@ -69,8 +69,8 @@ typedef struct _GModule GModule;
|
||||
typedef const gchar* (*GModuleCheckInit) (GModule *module);
|
||||
typedef void (*GModuleUnload) (GModule *module);
|
||||
|
||||
#define G_MODULE_ERROR g_module_error_quark () GLIB_AVAILABLE_MACRO_IN_2_70
|
||||
GLIB_AVAILABLE_IN_2_70
|
||||
#define G_MODULE_ERROR g_module_error_quark () GMODULE_AVAILABLE_MACRO_IN_2_70
|
||||
GMODULE_AVAILABLE_IN_2_70
|
||||
GQuark g_module_error_quark (void);
|
||||
|
||||
/**
|
||||
@@ -87,42 +87,42 @@ typedef enum
|
||||
G_MODULE_ERROR_FAILED,
|
||||
G_MODULE_ERROR_CHECK_FAILED,
|
||||
} GModuleError
|
||||
GLIB_AVAILABLE_ENUMERATOR_IN_2_70;
|
||||
GMODULE_AVAILABLE_ENUMERATOR_IN_2_70;
|
||||
|
||||
/* return TRUE if dynamic module loading is supported */
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GMODULE_AVAILABLE_IN_ALL
|
||||
gboolean g_module_supported (void) G_GNUC_CONST;
|
||||
|
||||
/* open a module 'file_name' and return handle, which is NULL on error */
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GMODULE_AVAILABLE_IN_ALL
|
||||
GModule* g_module_open (const gchar *file_name,
|
||||
GModuleFlags flags);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_70
|
||||
GMODULE_AVAILABLE_IN_2_70
|
||||
GModule *g_module_open_full (const gchar *file_name,
|
||||
GModuleFlags flags,
|
||||
GError **error);
|
||||
|
||||
/* close a previously opened module, returns TRUE on success */
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GMODULE_AVAILABLE_IN_ALL
|
||||
gboolean g_module_close (GModule *module);
|
||||
|
||||
/* make a module resident so g_module_close on it will be ignored */
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GMODULE_AVAILABLE_IN_ALL
|
||||
void g_module_make_resident (GModule *module);
|
||||
|
||||
/* query the last module error as a string */
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GMODULE_AVAILABLE_IN_ALL
|
||||
const gchar * g_module_error (void);
|
||||
|
||||
/* retrieve a symbol pointer from 'module', returns TRUE on success */
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GMODULE_AVAILABLE_IN_ALL
|
||||
gboolean g_module_symbol (GModule *module,
|
||||
const gchar *symbol_name,
|
||||
gpointer *symbol);
|
||||
|
||||
/* retrieve the file name from an existing module */
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GMODULE_AVAILABLE_IN_ALL
|
||||
const gchar * g_module_name (GModule *module);
|
||||
|
||||
/* Build the actual file name containing a module. 'directory' is the
|
||||
@@ -136,7 +136,7 @@ const gchar * g_module_name (GModule *module);
|
||||
*
|
||||
* No checks are made that the file exists, or is of correct type.
|
||||
*/
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GMODULE_AVAILABLE_IN_ALL
|
||||
gchar* g_module_build_path (const gchar *directory,
|
||||
const gchar *module_name);
|
||||
|
||||
|
Reference in New Issue
Block a user