From abb9613d2dbc95966c73409e08f66d812703b844 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Fri, 2 Jul 2021 23:34:08 -0500 Subject: add tests for hs_create_enum --- src/honeysuckle.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/honeysuckle.c') diff --git a/src/honeysuckle.c b/src/honeysuckle.c index 1015343..8cb8194 100644 --- a/src/honeysuckle.c +++ b/src/honeysuckle.c @@ -26,6 +26,13 @@ int hs_create_table(lua_State *L, ...) return 0; } +int hs_create_enum(lua_State *L, ...) +{ + lua_createtable(L, 0, 0); + L = L; + return 0; +} + void hs_pushstring(lua_State *L, const char *format_string, ...) { -- cgit v1.2.1