1 #ifndef __GLIB_GMODULE_H
2 #define __GLIB_GMODULE_H
6 #define G_MODULE_IMPORT extern
8 #define G_MODULE_EXPORT __declspec(dllexport)
10 #define G_MODULE_EXPORT
19 G_MODULE_BIND_LAZY
= 0x01,
20 G_MODULE_BIND_LOCAL
= 0x02,
21 G_MODULE_BIND_MASK
= 0x03
24 G_ENUM_FUNCTIONS (GModuleFlags
)
26 typedef struct _GModule GModule
;
28 G_EXTERN_C
// Used by libtest, at least.
29 GModule
*g_module_open (const gchar
*file
, GModuleFlags flags
);
30 G_EXTERN_C
// Used by libtest, at least.
31 gboolean
g_module_symbol (GModule
*module
, const gchar
*symbol_name
,
33 const gchar
*g_module_error (void);
34 gboolean
g_module_close (GModule
*module
);
35 gchar
* g_module_build_path (const gchar
*directory
, const gchar
*module_name
);
37 extern char *gmodule_libprefix
;
38 extern char *gmodule_libsuffix
;