mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-26 12:59:05 +08:00
⚡ add runtime.gc.extend
This commit is contained in:
+4
-1
@@ -479,7 +479,10 @@ var os={
|
||||
# runtime gives us some functions that we could manage it manually.
|
||||
var runtime={
|
||||
# command line arguments
|
||||
argv: func(){return __sysargv;}
|
||||
argv: func(){return __sysargv;},
|
||||
gc: {
|
||||
extend: func(type){return __gcextd;}
|
||||
}
|
||||
};
|
||||
|
||||
# functions that not supported in this runtime:
|
||||
|
||||
Reference in New Issue
Block a user