MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / ToPointer

Function ToPointer

emmy_debugger/src/debugger/emmy_debugger.cpp:284–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284std::string ToPointer(lua_State *L, int index) {
285 const void *pointer = lua_topointer(L, index);
286 std::stringstream ss;
287 ss << lua_typename(L, lua_type(L, index)) << "(0x" << std::hex << pointer << ")";
288 return ss.str();
289}
290
291#ifndef EMMY_USE_LUA_SOURCE
292void DisplayFunction54(Idx<Variable> variable, lua_State *L, int index, lua_Debug_54 &ar) {

Callers 3

DisplayFunction54Function · 0.85
DisplayFunctionFunction · 0.85
GetVariableMethod · 0.85

Calls 3

lua_topointerFunction · 0.50
lua_typenameFunction · 0.50
lua_typeFunction · 0.50

Tested by

no test coverage detected