From ec91aab02442dbbf577fa8d8e68c79a09b55f3f9 Mon Sep 17 00:00:00 2001 From: ame Date: Thu, 12 Jun 2025 02:08:47 -0500 Subject: rename 'array' lib and small additions --- src/table.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/table.h') 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} }; -- cgit v1.2.3