MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / dtor_object

Function dtor_object

modules/engine/lua/src/build.skr_lua.cpp:230–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228 ((skr::SPtr<void>*)((char*)p + sizeof(void*)))->reset();
229}
230void dtor_object(void* p)
231{
232 ((skr::SObjectPtr<skr::SInterface>*)((char*)p + sizeof(void*)))->reset();
233}
234void bind_unknown(lua_State* L)
235{
236 luaL_Reg metamethods[] = {

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected