| 51 | } |
| 52 | |
| 53 | extern "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 |
nothing calls this directly
no test coverage detected