mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
util-src: Specify size of various tables to be allocated
This commit is contained in:
parent
e1a8887ccd
commit
384687ffa4
5 changed files with 7 additions and 7 deletions
|
@ -24,7 +24,7 @@ int luaopen_util_table(lua_State *L) {
|
|||
#if (LUA_VERSION_NUM > 501)
|
||||
luaL_checkversion(L);
|
||||
#endif
|
||||
lua_newtable(L);
|
||||
lua_createtable(L, 0, 2);
|
||||
lua_pushcfunction(L, Lcreate_table);
|
||||
lua_setfield(L, -2, "create");
|
||||
lua_pushcfunction(L, Lpack);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue