1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-28 22:27:41 +00:00

More work on c library interface and io library.

This commit is contained in:
bakpakin
2018-01-15 20:14:21 -05:00
parent 3262316e60
commit 6df88f225f
17 changed files with 464 additions and 468 deletions

View File

@@ -270,7 +270,8 @@ int main(int argc, char **argv) {
/* Set up VM */
dst_init();
dst_vm_gc_interval = gcinterval;
env = dst_loadstl(DST_LOAD_ROOT);
env = dst_stl_env();
dst_gcroot(env);
/* Read the arguments. Only process files. */
for (i = 1; i < argc; ++i) {