summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hs_create_table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hs_create_table.c b/src/hs_create_table.c
index c1770e9..5441dae 100644
--- a/src/hs_create_table.c
+++ b/src/hs_create_table.c
@@ -7,5 +7,6 @@ int hs_create_table_(lua_State *L,
L=L;
n_elements = n_elements;
elements = elements;
- return 0;
+ lua_newtable(L);
+ return lua_gettop(L);
}