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

Function PushObstacleGUID

src/lua/LuaObstacle.cpp:207–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205//
206
207static void PushObstacleGUID(lua_State* L, uint32_t guid) {
208 assert(sizeof(void*) >= sizeof(uint32_t));
209 lua_pushlightuserdata(L, reinterpret_cast<void*>(guid));
210}
211
212
213static inline const Obstacle* ParseObstacle(lua_State* L, int index) {

Callers 6

PushObstacleListFunction · 0.85
GetMeshFaceMethod · 0.85
GetFaceMeshMethod · 0.85
GetLinkSrcFaceMethod · 0.85
GetLinkDstFaceMethod · 0.85
GetObstaclesInBoxMethod · 0.85

Calls 1

lua_pushlightuserdataFunction · 0.50

Tested by

no test coverage detected