mirror of
https://github.com/edo9300/ygopro-core
synced 2026-08-25 16:23:07 -04:00
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
7 lines
274 B
C
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
|