dep-ygopro-core/lua/luaconf-customize.h
Edoardo Lolletti 900966b7c7 Update way lua is "customized"
No longer patch luaconf.h, but rather force include a customization header in every translation unit and only build the actual used libraries, instead of building everything
2024-09-23 21:29:01 +02:00

7 lines
274 B
C

#if defined(LUA_EPRO_APICHECK)
void ocgcore_lua_api_check(void* L, const char* error_message);
#define luai_apicheck(l,e) do { if(!e) ocgcore_lua_api_check(l,"Lua api check failed: " #e); } while(0)
#endif
#if defined(__ANDROID__)
#define lua_getlocaledecpoint() '.'
#endif