summaryrefslogtreecommitdiff
path: root/gmodule/gmodule.h
diff options
context:
space:
mode:
authorTim Janik <timj@src.gnome.org>1998-08-09 11:39:50 +0000
committerTim Janik <timj@src.gnome.org>1998-08-09 11:39:50 +0000
commit1718cd8c8da7577b1ef72731e7c3348255effe4b (patch)
tree22e97060b14e96a9affd7eab7be831df4d156355 /gmodule/gmodule.h
parent6050cbef0ac2b8cb51a2c6505c51b39aa48ef912 (diff)
downloadglib-1718cd8c8da7577b1ef72731e7c3348255effe4b.tar.gz
fix cmopiler warnings. check (de)initialization code.
Diffstat (limited to 'gmodule/gmodule.h')
-rw-r--r--gmodule/gmodule.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gmodule/gmodule.h b/gmodule/gmodule.h
index f6e21f7f8..fd63af30e 100644
--- a/gmodule/gmodule.h
+++ b/gmodule/gmodule.h
@@ -28,7 +28,9 @@ extern "C" {
#endif /* __cplusplus */
-/* exporting and importing functions */
+/* exporting and importing functions,
+ * we need autoconf support here for supporting windows.
+ */
#define G_MODULE_EXPORT
#define G_MODULE_IMPORT extern
@@ -39,7 +41,9 @@ typedef enum
G_MODULE_BIND_MASK = 0x01
} GModuleFlags;
-typedef struct _GModule GModule;
+typedef struct _GModule GModule;
+typedef gboolean (*GModuleCheckInit) (GModule *module);
+typedef void (*GModuleDeInit) (GModule *module);
/* return TRUE if dynamic module loading is supported */
gboolean g_module_supported (void);