aboutsummaryrefslogtreecommitdiff
path: root/src/table.h
diff options
context:
space:
mode:
authoramelia squires <[email protected]>2025-04-16 13:54:00 -0500
committeramelia squires <[email protected]>2025-04-16 13:54:00 -0500
commitb2ee662b4621282b137a2a2cf1be13bd60073c5a (patch)
tree280ab21571a29f76d880c939642175602e6177e0 /src/table.h
parent8887668e977ff1c6e213768b954b086f6be0738c (diff)
fixes for 5.1v0.0.0
Diffstat (limited to 'src/table.h')
-rw-r--r--src/table.h4
1 files changed, 4 insertions, 0 deletions
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}
};