MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / Meta_GC

Method Meta_GC

LuaSTGPlus/LuaWrapper.cpp:387–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385 return 1;
386 }
387 static int Meta_GC(lua_State* L)LNOEXCEPT
388 {
389 Wrapper* p = static_cast<Wrapper*>(luaL_checkudata(L, 1, TYPENAME_BENTLASER));
390 if (p->handle)
391 {
392 GameObjectBentLaser::FreeInstance(p->handle);
393 p->handle = nullptr;
394 }
395 return 0;
396 }
397 };
398
399 luaL_Reg tMethods[] =

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected