MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / lua_createtable

Function lua_createtable

Source/Misc/lua/src/lua.c:2427–2433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2425
2426
2427LUA_API void lua_createtable (lua_State *L, int narray, int nrec) {
2428lua_lock(L);
2429luaC_checkGC(L);
2430sethvalue(L, L->top, luaH_new(L, narray, nrec));
2431api_incr_top(L);
2432lua_unlock(L);
2433}
2434
2435
2436LUA_API int lua_getmetatable (lua_State *L, int objindex) {

Callers 15

luausb_push_interfaceFunction · 0.85
luausb_push_deviceFunction · 0.85
luausb_push_transferFunction · 0.85
usb.cFile · 0.85
push_function_metatableFunction · 0.85
push_instance_metatableFunction · 0.85

Calls 1

luaH_newFunction · 0.85

Tested by

no test coverage detected