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

Method Release

LuaSTGPlus/LuaWrapper.cpp:326–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324 return 0;
325 }
326 static int Release(lua_State* L)LNOEXCEPT
327 {
328 Wrapper* p = static_cast<Wrapper*>(luaL_checkudata(L, 1, TYPENAME_BENTLASER));
329 if (p->handle)
330 {
331 GameObjectBentLaser::FreeInstance(p->handle);
332 p->handle = nullptr;
333 }
334 return 0;
335 }
336 static int Render(lua_State* L)LNOEXCEPT
337 {
338 Wrapper* p = static_cast<Wrapper*>(luaL_checkudata(L, 1, TYPENAME_BENTLASER));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected