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

Method ScriptPrintPointer

src/lua/LuaHandle.cpp:413–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411//============================================================================//
412
413int LuaHandle::ScriptPrintPointer(lua_State* L) {
414 const std::string prefix = luaL_optstring(L, 2, "PrintPointer: ");
415 LuaLog(0, "%s%p\n", prefix.c_str(), lua_topointer(L, 1));
416 return 0;
417}
418
419
420int LuaHandle::ScriptPrintGCInfo(lua_State* L) {

Callers

nothing calls this directly

Calls 3

LuaLogFunction · 0.85
c_strMethod · 0.80
lua_topointerFunction · 0.50

Tested by

no test coverage detected