MCPcopy Create free account
hub / github.com/DFHack/dfhack / lua_pushlightuserdata

Function lua_pushlightuserdata

depends/lua/src/lapi.c:565–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563
564
565LUA_API void lua_pushlightuserdata (lua_State *L, void *p) {
566 lua_lock(L);
567 setpvalue(L->top, p);
568 api_incr_top(L);
569 lua_unlock(L);
570}
571
572
573LUA_API int lua_pushthread (lua_State *L) {

Callers 15

set_dfhack_outputFunction · 0.85
PushFunctionWrapperMethod · 0.85
IndexFieldsFunction · 0.85
PushFieldInfoSubTableFunction · 0.85
MakeContainerMetatableFunction · 0.85
GetAdHocMetatableFunction · 0.85
RunLuaMethod · 0.85
open_luaMethod · 0.85
push_functionMethod · 0.85
SaveInTableMethod · 0.85
push_object_internalMethod · 0.85
meta_displaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected