Mercurial
view third_party/luajit/src/lj_assert.c @ 273:e02e2036ef84 default tip
add Layer 2 JRPG component system
Add reusable content and window modals, an isolated component sandbox, shared cyberpunk scroll areas, production-safe cache freshness, and server-rendered JRPG panel state.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sat, 08 Aug 2026 02:08:08 -0700 |
| parents | 94705b5986b3 |
| children |
line wrap: on
line source
/* ** Internal assertions. ** Copyright (C) 2005-2023 Mike Pall. See Copyright Notice in luajit.h */ #define lj_assert_c #define LUA_CORE #if defined(LUA_USE_ASSERT) || defined(LUA_USE_APICHECK) #include <stdio.h> #include "lj_obj.h" void lj_assert_fail(global_State *g, const char *file, int line, const char *func, const char *fmt, ...) { va_list argp; va_start(argp, fmt); fprintf(stderr, "LuaJIT ASSERT %s:%d: %s: ", file, line, func); vfprintf(stderr, fmt, argp); fputc('\n', stderr); va_end(argp); UNUSED(g); /* May be NULL. TODO: optionally dump state. */ abort(); } #endif