summaryrefslogtreecommitdiff
path: root/src/honey_lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/honey_lua.c')
-rw-r--r--src/honey_lua.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/honey_lua.c b/src/honey_lua.c
index 076fb65..1cbd483 100644
--- a/src/honey_lua.c
+++ b/src/honey_lua.c
@@ -33,6 +33,12 @@ void honey_lua_push_element(lua_State* L, honey_lua_element element)
lua_pushcfunction(L, element.data.function);
break;
+ case HONEY_TABLE:
+ honey_lua_create_table(L,
+ element.data.table.elements,
+ element.data.table.n_elements);
+ break;
+
default:
// this should never happen
break;