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

Function lua_settable

Source/Misc/lua/src/lua.c:2494–2503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2492
2493
2494LUA_API void lua_settable (lua_State *L, int idx) {
2495StkId t;
2496lua_lock(L);
2497api_checknelems(L, 2);
2498t = index2adr(L, idx);
2499api_checkvalidindex(L, t);
2500luaV_settable(L, t, L->top - 2, L->top - 1);
2501L->top -= 2; /* pop index and value */
2502lua_unlock(L);
2503}
2504
2505
2506LUA_API void lua_setfield (lua_State *L, int idx, const char *k) {

Callers 10

usb.cFile · 0.85
register_Method · 0.85
do_set_package_preloadFunction · 0.85
register_Method · 0.85
copy_member_tableFunction · 0.85
setMethod · 0.85
index_proxyClass · 0.85
settableFunction · 0.85
luaL_findtableFunction · 0.85
ll_registerFunction · 0.85

Calls 2

index2adrFunction · 0.85
luaV_settableFunction · 0.85

Tested by

no test coverage detected