g_module_symbol takes a gpointer *, not just a gpointer

This commit is contained in:
Manish Singh 2001-12-03 20:10:44 +00:00
parent 88b9c7f902
commit 7fac2ee037
9 changed files with 17 additions and 1 deletions

View File

@ -3,6 +3,8 @@
* tests/module-test.c: g_module_symbol takes a gpointer *, not just
a gpointer
* tests/libmoduletestplugin_a.c: here too
2001-11-29 Havoc Pennington <hp@redhat.com>
* glib/gtree.c (g_tree_foreach):

View File

@ -3,6 +3,8 @@
* tests/module-test.c: g_module_symbol takes a gpointer *, not just
a gpointer
* tests/libmoduletestplugin_a.c: here too
2001-11-29 Havoc Pennington <hp@redhat.com>
* glib/gtree.c (g_tree_foreach):

View File

@ -3,6 +3,8 @@
* tests/module-test.c: g_module_symbol takes a gpointer *, not just
a gpointer
* tests/libmoduletestplugin_a.c: here too
2001-11-29 Havoc Pennington <hp@redhat.com>
* glib/gtree.c (g_tree_foreach):

View File

@ -3,6 +3,8 @@
* tests/module-test.c: g_module_symbol takes a gpointer *, not just
a gpointer
* tests/libmoduletestplugin_a.c: here too
2001-11-29 Havoc Pennington <hp@redhat.com>
* glib/gtree.c (g_tree_foreach):

View File

@ -3,6 +3,8 @@
* tests/module-test.c: g_module_symbol takes a gpointer *, not just
a gpointer
* tests/libmoduletestplugin_a.c: here too
2001-11-29 Havoc Pennington <hp@redhat.com>
* glib/gtree.c (g_tree_foreach):

View File

@ -3,6 +3,8 @@
* tests/module-test.c: g_module_symbol takes a gpointer *, not just
a gpointer
* tests/libmoduletestplugin_a.c: here too
2001-11-29 Havoc Pennington <hp@redhat.com>
* glib/gtree.c (g_tree_foreach):

View File

@ -3,6 +3,8 @@
* tests/module-test.c: g_module_symbol takes a gpointer *, not just
a gpointer
* tests/libmoduletestplugin_a.c: here too
2001-11-29 Havoc Pennington <hp@redhat.com>
* glib/gtree.c (g_tree_foreach):

View File

@ -3,6 +3,8 @@
* tests/module-test.c: g_module_symbol takes a gpointer *, not just
a gpointer
* tests/libmoduletestplugin_a.c: here too
2001-11-29 Havoc Pennington <hp@redhat.com>
* glib/gtree.c (g_tree_foreach):

View File

@ -58,7 +58,7 @@ gplugin_a_module_func (GModule *module)
{
void (*f) (void) = NULL;
if (!g_module_symbol (module, "gplugin_say_boo_func", (gpointer) &f))
if (!g_module_symbol (module, "gplugin_say_boo_func", (gpointer *) &f))
{
g_print ("error: %s\n", g_module_error ());
exit (1);