mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
provide no operation implementation for the underlying _g_module_*
Thu Aug 20 07:08:16 1998 Tim Janik <timj@gtk.org> * gmodule.c: provide no operation implementation for the underlying _g_module_* functions, so we at least compile on systems that have neither of G_MODULE_IMPL_DL or G_MODULE_IMPL_DLD.
This commit is contained in:
parent
c4a99a2eb9
commit
0b870ec357
@ -1,3 +1,9 @@
|
||||
Thu Aug 20 07:08:16 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gmodule.c: provide no operation implementation for the underlying
|
||||
_g_module_* functions, so we at least compile on systems that have
|
||||
neither of G_MODULE_IMPL_DL or G_MODULE_IMPL_DLD.
|
||||
|
||||
Mon Aug 17 03:41:52 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gmodule.h:
|
||||
|
@ -110,6 +110,28 @@ g_module_set_error (const gchar *error)
|
||||
#else
|
||||
#undef CHECK_ERROR
|
||||
#define CHECK_ERROR(rv) { g_module_set_error ("unsupported"); return rv; }
|
||||
static gpointer
|
||||
_g_module_open (const gchar *file_name,
|
||||
gboolean bind_lazy)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
static void
|
||||
_g_module_close (gpointer handle,
|
||||
gboolean is_unref)
|
||||
{
|
||||
}
|
||||
static gpointer
|
||||
_g_module_self (void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
static gpointer
|
||||
_g_module_symbol (gpointer handle,
|
||||
const gchar *symbol_name)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
#endif /* no implementation */
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user