MCPcopy Create free account
hub / github.com/defold/defold / dm_luaL_error_asan

Function dm_luaL_error_asan

engine/script/src/script.cpp:53–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53extern "C" int dm_luaL_error_asan(lua_State* L, const char* fmt, ...)
54{
55 va_list argp;
56 va_start(argp, fmt);
57 luaL_where(L, 1);
58 lua_pushvfstring(L, fmt, argp);
59 va_end(argp);
60 lua_concat(L, 2);
61 return dm_lua_error_asan(L);
62}
63
64#define lua_error dm_lua_error_asan
65#define luaL_error dm_luaL_error_asan

Callers

nothing calls this directly

Calls 4

luaL_whereFunction · 0.85
lua_pushvfstringFunction · 0.85
lua_concatFunction · 0.85
dm_lua_error_asanFunction · 0.70

Tested by

no test coverage detected