mirror of
https://github.com/janet-lang/janet
synced 2025-11-18 00:05:13 +00:00
Refactor native module declarations. marshal can now
serialize entire environment.
This commit is contained in:
@@ -255,7 +255,7 @@ static const DstReg cfuns[] = {
|
||||
|
||||
/* Load the array module */
|
||||
int dst_lib_array(DstArgs args) {
|
||||
DstTable *env = dst_env_arg(args);
|
||||
dst_env_cfuns(env, cfuns);
|
||||
DstTable *env = dst_env(args);
|
||||
dst_cfuns(env, NULL, cfuns);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user