From 8c66847bfc4a6af1ca86e916b678a6b8ce58be2f Mon Sep 17 00:00:00 2001 From: sanine-a Date: Fri, 11 Jun 2021 17:01:18 -0500 Subject: add initial tests for hs_create_table --- src/honeysuckle.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/honeysuckle.c') 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); -- cgit v1.2.1