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

Function dtor_shared

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

Source from the content-addressed store, hash-verified

224 ((skr::lua::destructor_t)((char*)p + sizeof(void*)))(*(void**)p);
225}
226void dtor_shared(void* p)
227{
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();

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected