comparison src/emodules.c @ 1811:3fe1a35b705d

[xemacs-hg @ 2003-11-29 22:11:47 by james] Several module-related cleanups.
author james
date Sat, 29 Nov 2003 22:11:49 +0000
parents 7580e52a8218
children 0bcc1e4dfd91
comparison
equal deleted inserted replaced
1810:6f8003dda838 1811:3fe1a35b705d
366 Ffile_name_nondirectory (foundname)); 366 Ffile_name_nondirectory (foundname));
367 367
368 dlhandle = dll_open (foundname); 368 dlhandle = dll_open (foundname);
369 if (dlhandle == NULL) 369 if (dlhandle == NULL)
370 { 370 {
371 signal_error (Qdll_error, "Opening dynamic module", 371 signal_error (Qdll_error, "Opening dynamic module", dll_error ());
372 dll_error (dlhandle));
373 } 372 }
374 373
375 ellcc_rev = (const long *)dll_variable (dlhandle, "emodule_compiler"); 374 ellcc_rev = (const long *)dll_variable (dlhandle, "emodule_compiler");
376 if (ellcc_rev == NULL || *ellcc_rev <= 0L) 375 if (ellcc_rev == NULL || *ellcc_rev <= 0L)
377 signal_error (Qdll_error, "Invalid dynamic module: Missing symbol `emodule_compiler'", Qunbound); 376 signal_error (Qdll_error, "Invalid dynamic module: Missing symbol `emodule_compiler'", Qunbound);