nr scope as a dynamically loaded shared lib
This commit is contained in:
@@ -37,10 +37,10 @@
|
||||
#define SOFTSCOPE_ENDFUNC_IDX 0
|
||||
static loader_shlibfunc_t scope_fdesc[]= {{"end_forms",NULL}};
|
||||
|
||||
int load_softscope(char *exectype) {
|
||||
int load_softscope(char *exectype, void *initarg) {
|
||||
char libname[64];
|
||||
sprintf(libname,"%.10sscope",exectype);
|
||||
return load_module_shlib(libname,scope_fdesc,1,NULL);
|
||||
return load_module_shlib(libname,scope_fdesc,1,initarg);
|
||||
}
|
||||
|
||||
int end_forms(void) {
|
||||
|
||||
Reference in New Issue
Block a user