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

Function lua_tonumber

emmy_debugger/src/api/lua_api_loader.cpp:259–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259lua_Number lua_tonumber(lua_State* L, int idx)
260{
261 if (luaVersion > LuaVersion::LUA_51)
262 {
263 return e_lua_tonumberx(L, idx, nullptr);
264 }
265 return e_lua_tonumber(L, idx);
266}
267
268int lua_getglobal(lua_State* L, const char* name)
269{

Callers 3

GetVariableMethod · 0.50
metaQueryFunction · 0.50
metaNewIndexFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected