Replace builtinspec_t with struct

This commit is contained in:
2019-08-09 19:26:48 +03:00
parent e54797e4eb
commit 428e7a3825
7 changed files with 32 additions and 30 deletions
+9 -8
View File
@@ -205,14 +205,15 @@ value_t fl_table_foldl(value_t *args, uint32_t nargs)
return zero;
}
static builtinspec_t tablefunc_info[] = { { "table", fl_table },
{ "table?", fl_tablep },
{ "put!", fl_table_put },
{ "get", fl_table_get },
{ "has?", fl_table_has },
{ "del!", fl_table_del },
{ "table.foldl", fl_table_foldl },
{ NULL, NULL } };
static struct builtinspec tablefunc_info[] = { { "table", fl_table },
{ "table?", fl_tablep },
{ "put!", fl_table_put },
{ "get", fl_table_get },
{ "has?", fl_table_has },
{ "del!", fl_table_del },
{ "table.foldl",
fl_table_foldl },
{ NULL, NULL } };
void table_init(void)
{