mirror of
https://github.com/janet-lang/janet
synced 2024-11-18 06:34:48 +00:00
Delete extra code.
This commit is contained in:
parent
7ea118f248
commit
9e47cd94bd
@ -319,13 +319,6 @@ JANET_CORE_FN(cfun_table_new,
|
||||
int32_t cap = janet_getnat(argv, 0);
|
||||
return janet_wrap_table(janet_table(cap));
|
||||
}
|
||||
/*
|
||||
uint32_t flags = janet_getflags(argv, 1, "kv");
|
||||
if (flags == 0) return janet_wrap_table(janet_table(cap));
|
||||
if (flags == 1) return janet_wrap_table(janet_table_weakk(cap));
|
||||
if (flags == 2) return janet_wrap_table(janet_table_weakv(cap));
|
||||
return janet_wrap_table(janet_table_weakkv(cap));
|
||||
*/
|
||||
|
||||
JANET_CORE_FN(cfun_table_weak,
|
||||
"(table/weak capacity)",
|
||||
|
Loading…
Reference in New Issue
Block a user