From 9e47cd94bdcc5851b33c03a54afc49c5c8411ccf Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Tue, 4 Jun 2024 21:10:35 -0500 Subject: [PATCH] Delete extra code. --- src/core/table.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/core/table.c b/src/core/table.c index d6174027..4ebcde5f 100644 --- a/src/core/table.c +++ b/src/core/table.c @@ -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)",