comparison audacious/pluginenum.c @ 1970:94a720c9bfef trunk

[svn] - only GModule would be so dumb to push all symbols to the global namespace by default. I hate GLib.
author nenolod
date Sun, 12 Nov 2006 12:50:16 -0800
parents a6e6d3500c13
children 78002535143b
comparison
equal deleted inserted replaced
1969:55b05e25d4ef 1970:94a720c9bfef
214 gpointer func; 214 gpointer func;
215 215
216 if (plugin_is_duplicate(filename)) 216 if (plugin_is_duplicate(filename))
217 return; 217 return;
218 218
219 if (!(module = g_module_open(filename, 0))) { 219 if (!(module = g_module_open(filename, G_MODULE_BIND_LOCAL))) {
220 printf("Failed to load plugin (%s): %s\n", 220 printf("Failed to load plugin (%s): %s\n",
221 filename, g_module_error()); 221 filename, g_module_error());
222 return; 222 return;
223 } 223 }
224 224