| 189 | } |
| 190 | |
| 191 | static const char* GetLuaProfilerScopeName(LuaProfilerScopeState* state, const LuaProfilerScope* scope) |
| 192 | { |
| 193 | return state->m_Names.Begin() + scope->m_NameOffset; |
| 194 | } |
| 195 | |
| 196 | static void PushLuaProfilerScope(lua_State* L, const char* name, uint32_t name_length) |
| 197 | { |
no test coverage detected