nr scope as a dynamically loaded shared lib

This commit is contained in:
frtabu
2020-07-17 15:59:38 +02:00
parent 2bf5758418
commit 8b4498cd11
11 changed files with 23 additions and 37 deletions
+2 -2
View File
@@ -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) {