Displaying 2 results from an estimated 2 matches for "plugin_file".
2007 Nov 06
1
src/plugin.c
...ugin.c
index bec4741..258307c 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -128,22 +128,31 @@ NP_GetValue (void* reserved, NPPVariable var, void* out)
return NPERR_NO_ERROR;
}
-static gboolean
-make_sure_this_thing_stays_in_memory (void)
+/* This mess is unfortunately necessary */
+#define PLUGIN_FILE PLUGIN_DIR G_DIR_SEPARATOR_S "libswfdecmozilla." G_MODULE_SUFFIX
+G_MODULE_EXPORT gboolean
+swfdec_mozilla_make_sure_this_thing_stays_in_memory (void)
{
static gboolean inited = FALSE;
GModule *module;
+ gpointer check;
if (inited)
return TRUE;
- inited = TRUE;
i...
2001 Mar 16
3
Patches for NetBSD
...; */
return odelay;
}
$NetBSD: patch-ac,v 1.1.1.1 2001/03/15 20:35:58 wiz Exp $
--- ../libao-0.6.0.orig/src/audio_out.c Fri Feb 23 17:31:46 2001
+++ src/audio_out.c Thu Mar 15 10:21:55 2001
@@ -63,7 +63,7 @@
driver_tree_t *dt;
void *handle;
- handle = dlopen(plugin_file, RTLD_NOW);
+ handle = dlopen(plugin_file, DL_LAZY);
if (handle) {
dt = (driver_tree_t *)malloc(sizeof(driver_tree_t));
if (!dt) return NULL;
$NetBSD: patch-ad,v 1.1 2001/03/16 10:10:35 wiz Exp $
--- src/ao_wav.c.orig Sat Feb 24 02:31:46 2001
+++ src/ao_w...