summaryrefslogtreecommitdiff
path: root/src/honeysuckle.c
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2021-07-02 23:34:08 -0500
committersanine-a <sanine.not@pm.me>2021-07-02 23:34:08 -0500
commitabb9613d2dbc95966c73409e08f66d812703b844 (patch)
tree572ca9fcb4f52c9820bfc4a2829843ef0bfb0023 /src/honeysuckle.c
parent3be8f4628e2eea1ee1edd352d5c0a63293484f8c (diff)
add tests for hs_create_enum
Diffstat (limited to 'src/honeysuckle.c')
-rw-r--r--src/honeysuckle.c7
1 files changed, 7 insertions, 0 deletions
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, ...)
{