diff options
Diffstat (limited to 'src/hs_create_table.c')
-rw-r--r-- | src/hs_create_table.c | 3 |
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); } |