From b37a9055d547310539c8eba0eb430e766f6154e4 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 5 Mar 2019 02:07:28 +0100 Subject: [PATCH] Force inline SendLuaCallstack(). --- TracyLua.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TracyLua.hpp b/TracyLua.hpp index 52d9e4e4..f300afab 100644 --- a/TracyLua.hpp +++ b/TracyLua.hpp @@ -128,6 +128,7 @@ static inline void LuaRemove( char* script ) #include "common/TracyColor.hpp" #include "common/TracyAlign.hpp" +#include "common/TracyForceInline.hpp" #include "common/TracySystem.hpp" #include "client/TracyProfiler.hpp" @@ -141,7 +142,7 @@ LuaZoneState& GetLuaZoneState(); namespace detail { -static inline void SendLuaCallstack( lua_State* L, uint32_t depth ) +static tracy_force_inline void SendLuaCallstack( lua_State* L, uint32_t depth ) { assert( depth <= 64 ); lua_Debug dbg[64];