Move VERSION variable into Lua code
To avoid recreating binaries if there are no changes in the C side of the source code.
This commit is contained in:
@@ -103,9 +103,6 @@ init_lua:
|
||||
}
|
||||
lua_setglobal(L, "ARGS");
|
||||
|
||||
lua_pushstring(L, "1.16");
|
||||
lua_setglobal(L, "VERSION");
|
||||
|
||||
lua_pushstring(L, SDL_GetPlatform());
|
||||
lua_setglobal(L, "PLATFORM");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user