MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / meshGC

Function meshGC

src/world/WorldScript.cpp:662–668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660//============================================================================//
661
662static int meshGC(lua_State* L) {
663 LuaMesh** luaMeshPtr = (LuaMesh**)luaL_checkudata(L, 1, meshMetaTag);
664 LuaMesh*& luaMesh = *luaMeshPtr;
665 delete luaMesh;
666 luaMesh = NULL;
667 return 0;
668}
669
670
671void WorldScript::setupMeshMetatable() {

Callers

nothing calls this directly

Calls 1

luaL_checkudataFunction · 0.50

Tested by

no test coverage detected