1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-19 09:47:40 +00:00

Refactor native module declarations. marshal can now

serialize entire environment.
This commit is contained in:
Calvin Rose
2018-08-26 14:35:01 -04:00
parent 45d0597294
commit 75c66ea6dd
20 changed files with 97 additions and 78 deletions

View File

@@ -467,7 +467,7 @@ static const DstReg cfuns[] = {
/* Module entry point */
int dst_lib_fiber(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;
}