summaryrefslogtreecommitdiff
path: root/src/honeysuckle.c
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2021-06-11 17:01:18 -0500
committersanine-a <sanine.not@pm.me>2021-06-11 17:01:18 -0500
commit8c66847bfc4a6af1ca86e916b678a6b8ce58be2f (patch)
tree6e5a08d500b77fe34721be916d8f16959f8fadd2 /src/honeysuckle.c
parent6e5972d05275076f9b7e3fbf9b5ac7bcbcef2cdc (diff)
add initial tests for hs_create_table
Diffstat (limited to 'src/honeysuckle.c')
-rw-r--r--src/honeysuckle.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/honeysuckle.c b/src/honeysuckle.c
index e45da48..1015343 100644
--- a/src/honeysuckle.c
+++ b/src/honeysuckle.c
@@ -19,6 +19,14 @@ int hs_parse_overloaded(lua_State *L, ...)
}
+int hs_create_table(lua_State *L, ...)
+{
+ lua_createtable(L, 0, 0);
+ L = L;
+ return 0;
+}
+
+
void hs_pushstring(lua_State *L, const char *format_string, ...)
{
lua_pushnumber(L, 0.4);