summaryrefslogtreecommitdiff
path: root/gmodule/gmodule.h
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-09-17 04:59:41 +0000
committerTim Janik <timj@src.gnome.org>1998-09-17 04:59:41 +0000
commitea4b8e4c02c19f6a997f28403ee78fe92dcf291b (patch)
treeac64c97e24b5b84f4d4504d828af60ceeb3473fe /gmodule/gmodule.h
parent7cc610b06446593ff43f9d4b55d92f8410fe6be6 (diff)
implemented g_datalist_* along the lines of g_dataset, but operates on an
Thu Sep 17 06:36:25 1998 Tim Janik <timj@gtk.org> * glib.h: * gdataset.c: implemented g_datalist_* along the lines of g_dataset, but operates on an opaque gpointer *datalist; pointer, e.g. for the implementation of GtkObject named data. we cache a certain portion of the already freed data entries now, to gain a slight performance improve with data reallocation. Thu Sep 17 06:34:22 1998 Tim Janik <timj@gtk.org> * gmodule.h: * gmodule.c: implemented g_module_make_resident() which can be used to make modules resident. fixed a buglet about the optional "g_module_de_init" function in modules, which could get invoked twice on very obscure occasions.
Diffstat (limited to 'gmodule/gmodule.h')
-rw-r--r--gmodule/gmodule.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gmodule/gmodule.h b/gmodule/gmodule.h
index 21788e3ab..966d5ef41 100644
--- a/gmodule/gmodule.h
+++ b/gmodule/gmodule.h
@@ -56,6 +56,9 @@ GModule* g_module_open (const gchar *file_name,
/* close a previously opened module, returns TRUE on success */
gboolean g_module_close (GModule *module);
+/* make a module resident so g_module_close on it will be ignored */
+void g_module_make_resident (GModule *module);
+
/* query the last module error as a string */
gchar* g_module_error (void);