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

Function dtor_resource_handle

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

Source from the content-addressed store, hash-verified

323}
324
325void dtor_resource_handle(void* p) {
326 auto resource = (skr_resource_handle_t*)p;
327 if (resource->is_resolved())
328 resource->unload();
329}
330
331void bind_skr_resource_handle(lua_State* L)
332{

Callers

nothing calls this directly

Calls 2

is_resolvedMethod · 0.80
unloadMethod · 0.45

Tested by

no test coverage detected