chore(color): fix compile error if LUA_ALLOCATOR_TRACER is defined (#7808)
This commit is contained in:
@@ -38,7 +38,7 @@ LuaMemTracer lsStandaloneTrace;
|
|||||||
|
|
||||||
static void luaStandaloneHook(lua_State * L, lua_Debug *ar)
|
static void luaStandaloneHook(lua_State * L, lua_Debug *ar)
|
||||||
{
|
{
|
||||||
else if (ar->event == LUA_HOOKLINE) {
|
if (ar->event == LUA_HOOKLINE) {
|
||||||
lua_getinfo(L, "nSl", ar);
|
lua_getinfo(L, "nSl", ar);
|
||||||
LuaMemTracer * tracer = &lsStandaloneTrace;
|
LuaMemTracer * tracer = &lsStandaloneTrace;
|
||||||
if (tracer->alloc || tracer->free) {
|
if (tracer->alloc || tracer->free) {
|
||||||
|
|||||||
Reference in New Issue
Block a user