少年修仙传客户端基础资源
hch
2024-04-01 d01413b00ef631ac20347716b23818b0b811f65f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef __GLIB_GMODULE_H
#define __GLIB_GMODULE_H
 
#include <glib.h>
 
#define G_MODULE_IMPORT extern
#ifdef G_OS_WIN32
#define G_MODULE_EXPORT __declspec(dllexport)
#else
#define G_MODULE_EXPORT
#endif
 
G_BEGIN_DECLS
 
/*
 * Modules
 */
typedef enum {
    G_MODULE_BIND_LAZY = 0x01,
    G_MODULE_BIND_LOCAL = 0x02,
    G_MODULE_BIND_MASK = 0x03
} GModuleFlags;
typedef struct _GModule GModule;
 
GModule *g_module_open (const gchar *file, GModuleFlags flags);
gboolean g_module_symbol (GModule *module, const gchar *symbol_name,
              gpointer *symbol);
const gchar *g_module_error (void);
gboolean g_module_close (GModule *module);
gchar *  g_module_build_path (const gchar *directory, const gchar *module_name);
 
extern char *gmodule_libprefix;
extern char *gmodule_libsuffix;
 
G_END_DECLS
 
#endif