From b2ee662b4621282b137a2a2cf1be13bd60073c5a Mon Sep 17 00:00:00 2001 From: amelia squires Date: Wed, 16 Apr 2025 13:54:00 -0500 Subject: fixes for 5.1 --- src/table.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/table.h') diff --git a/src/table.h b/src/table.h index a37dafc..e962e3c 100644 --- a/src/table.h +++ b/src/table.h @@ -19,6 +19,8 @@ int l_sindexof(lua_State*);//[double+int] (greatest -> least), item -> i int l_split(lua_State*); int l_to_char_array(lua_State*); +int l_unpack(lua_State*); + static const luaL_Reg array_function_list [] = { {"len",l_len}, {"reverse",l_reverse}, @@ -45,6 +47,8 @@ static const luaL_Reg array_function_list [] = { {"slowsort",l_slowsort}, {"bogosort",l_bogosort}, + {"unpack", l_unpack}, + {NULL,NULL} }; -- cgit v1.2.3