forked from xxq250/Nasal-Interpreter
add unix.environ() & use LPCWSTR in dylib.dlopen on Windows platform
This commit is contained in:
@@ -278,7 +278,7 @@ var unix=
|
||||
time: func(){return time(0);},
|
||||
sleep: func(secs){return __builtin_sleep(secs);},
|
||||
chdir: func(path){return __builtin_chdir(path);},
|
||||
environ: func(){die("not supported yet");},
|
||||
environ: func(){return __builtin_environ();},
|
||||
getcwd: func(){return __builtin_getcwd();},
|
||||
getenv: func(envvar){return __builtin_getenv(envvar);}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user