Searched refs:LUA_RIDX_GLOBALS (Results 1 – 7 of 7) sorted by relevance
/freebsd/sys/contrib/openzfs/include/sys/lua/ |
H A D | lua.h | 97 #define LUA_RIDX_GLOBALS 2 macro 98 #define LUA_RIDX_LAST LUA_RIDX_GLOBALS 344 lua_rawgeti(L, LUA_REGISTRYINDEX, LUA_RIDX_GLOBALS)
|
/freebsd/contrib/lua/src/ |
H A D | lua.h | 85 #define LUA_RIDX_GLOBALS 2 macro 86 #define LUA_RIDX_LAST LUA_RIDX_GLOBALS 396 ((void)lua_rawgeti(L, LUA_REGISTRYINDEX, LUA_RIDX_GLOBALS))
|
H A D | lstate.c | 224 sethvalue(L, ®istry->array[LUA_RIDX_GLOBALS - 1], luaH_new(L)); in init_registry()
|
H A D | lapi.c | 663 (&hvalue(&G(L)->l_registry)->array[LUA_RIDX_GLOBALS - 1])
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lstate.c | 173 luaH_setint(L, registry, LUA_RIDX_GLOBALS, &mt); in init_registry()
|
H A D | lapi.c | 611 gt = luaH_getint(reg, LUA_RIDX_GLOBALS); in lua_getglobal() 738 gt = luaH_getint(reg, LUA_RIDX_GLOBALS); in lua_setglobal() 985 const TValue *gt = luaH_getint(reg, LUA_RIDX_GLOBALS); in lua_load()
|
/freebsd/contrib/lutok/ |
H A D | state.cpp | 322 lua_pushinteger(_pimpl->lua_state, LUA_RIDX_GLOBALS); in get_global_table()
|