summaryrefslogtreecommitdiff
path: root/gmodule
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2022-10-05 13:39:21 -0400
committerXavier Claessens <xavier.claessens@collabora.com>2022-10-13 20:53:56 -0400
commite5565f6635fdae5d0fb23843eb8adc01bbb45e6c (patch)
tree68cfb6e2cae9f476fd147ed03c6e3ebc12b256f5 /gmodule
parentdcfc9f689e2483d7735bdc90fb36201838c1854f (diff)
downloadglib-e5565f6635fdae5d0fb23843eb8adc01bbb45e6c.tar.gz
Rename all visibility macros
Diffstat (limited to 'gmodule')
-rw-r--r--gmodule/gmodule.c6
-rw-r--r--gmodule/gmodule.h24
2 files changed, 15 insertions, 15 deletions
diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c
index f324882ab..972d8ad63 100644
--- a/gmodule/gmodule.c
+++ b/gmodule/gmodule.c
@@ -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,
diff --git a/gmodule/gmodule.h b/gmodule/gmodule.h
index ec14f4e10..03ac91d10 100644
--- a/gmodule/gmodule.h
+++ b/gmodule/gmodule.h
@@ -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);