dll_handle dlhandle; /* Dynamic lib handle */
} emodules_list;
+static Lisp_Object Vmodule_extensions;
+
static int emodules_depth;
static dll_handle dlhandle;
static emodules_list *modules;
GCPRO2(filename, foundname);
filename = build_string (tmod);
- fd = locate_file(Vmodule_load_path, filename, ":.ell:.so:.dll", &foundname, -1);
+ fd = locate_file(Vmodule_load_path, filename, Vmodule_extensions,
+ &foundname, -1);
UNGCPRO;
if (fd < 0)
when a dynamic module is loaded.
*/);
+ /* #### Export this to Lisp */
+ Vmodule_extensions = build_string (":.ell:.so:.dll");
+ staticpro (&Vmodule_extensions);
+
load_modules_quietly = 0;
emodules_depth = 0;
modules = (emodules_list *)0;