aboutsummaryrefslogtreecommitdiff
path: root/src/table.h
diff options
context:
space:
mode:
authorame <[email protected]>2025-06-12 02:08:47 -0500
committerame <[email protected]>2025-06-12 02:08:47 -0500
commitec91aab02442dbbf577fa8d8e68c79a09b55f3f9 (patch)
treee201087adabba53febc0df9a34db4577755f5961 /src/table.h
parentc3efe329c55727ca68c4975dccc774b279479fc3 (diff)
rename 'array' lib and small additions
Diffstat (limited to 'src/table.h')
-rw-r--r--src/table.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/table.h b/src/table.h
index e962e3c..988eb45 100644
--- a/src/table.h
+++ b/src/table.h
@@ -20,8 +20,9 @@ int l_split(lua_State*);
int l_to_char_array(lua_State*);
int l_unpack(lua_State*);
+int l_split(lua_State*);
-static const luaL_Reg array_function_list [] = {
+static const luaL_Reg table_function_list [] = {
{"len",l_len},
{"reverse",l_reverse},
{"greatest",l_greatest},
@@ -52,6 +53,6 @@ static const luaL_Reg array_function_list [] = {
{NULL,NULL}
};
-static struct config array_config[] = {
+static struct config table_config[] = {
{.type = c_none}
};