diff options
author | Tim Janik <timj@gtk.org> | 1998-08-17 02:40:30 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-08-17 02:40:30 +0000 |
commit | e746ca4f15d137b83dcb8397d185b7fc0a3fb4bc (patch) | |
tree | b9c288884ac7383a9ef540d52cbad9479716b9eb /gmodule/gmodule.h | |
parent | e93e4945181e4bd6b419d7ee3c409db88ad918cd (diff) | |
download | glib-e746ca4f15d137b83dcb8397d185b7fc0a3fb4bc.tar.gz |
changed the return type for the GModuleCheckInit function to be a string,
Mon Aug 17 03:41:52 1998 Tim Janik <timj@gtk.org>
* gmodule.h:
* gmodule.c (g_module_open): changed the return type for the
GModuleCheckInit function to be a string, describing the error
condition.
(g_module_symbol): show the failing symbol on error messages.
Diffstat (limited to 'gmodule/gmodule.h')
-rw-r--r-- | gmodule/gmodule.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gmodule/gmodule.h b/gmodule/gmodule.h index afcdeaf43..581aaf95c 100644 --- a/gmodule/gmodule.h +++ b/gmodule/gmodule.h @@ -39,12 +39,12 @@ extern const char *g_log_domain_gmodule; typedef enum { G_MODULE_BIND_LAZY = 1 << 0, - G_MODULE_BIND_MASK = 0x01 + G_MODULE_BIND_MASK = 0x01 } GModuleFlags; -typedef struct _GModule GModule; -typedef gboolean (*GModuleCheckInit) (GModule *module); -typedef void (*GModuleDeInit) (GModule *module); +typedef struct _GModule GModule; +typedef const gchar* (*GModuleCheckInit) (GModule *module); +typedef void (*GModuleDeInit) (GModule *module); /* return TRUE if dynamic module loading is supported */ gboolean g_module_supported (void); |