MCPcopy Create free account
hub / github.com/defold/defold / lua_pushlightuserdata

Function lua_pushlightuserdata

engine/lua/src/lua/lapi.c:511–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509
510
511LUA_API void lua_pushlightuserdata (lua_State *L, void *p) {
512 lua_lock(L);
513 setpvalue(L->top, p);
514 api_incr_top(L);
515 lua_unlock(L);
516}
517
518
519LUA_API int lua_pushthread (lua_State *L) {

Callers 15

CompScriptSetPropertiesFunction · 0.85
TEST_FFunction · 0.85
InitializeFunction · 0.85
SetTimerWorldFunction · 0.85
TimerNewScriptWorldFunction · 0.85
InitializeJsonFunction · 0.85
UserType_GetUserDataFunction · 0.85
PCallCheckTableFunction · 0.85
LuaCallCallbackFunction · 0.85
TestGetUserDataFunction · 0.85

Calls

no outgoing calls

Tested by 8

TEST_FFunction · 0.68
UserType_GetUserDataFunction · 0.68
PCallCheckTableFunction · 0.68
LuaCallCallbackFunction · 0.68
TestGetUserDataFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_PFunction · 0.68