branch | sdl2transition |
changeset 11342 | ed5a6478e710 |
parent 10017 | de822cd3df3a |
--- a/misc/liblua/liolib.c Tue Nov 10 18:16:35 2015 +0100 +++ b/misc/liblua/liolib.c Tue Nov 10 20:43:13 2015 +0100 @@ -20,8 +20,8 @@ -#define IO_INPUT 1 -#define IO_OUTPUT 2 +#define IO_INPUT 1 +#define IO_OUTPUT 2 static const char *const fnames[] = {"input", "output"}; @@ -51,7 +51,7 @@ } -#define tofilep(L) ((FILE **)luaL_checkudata(L, 1, LUA_FILEHANDLE)) +#define tofilep(L) ((FILE **)luaL_checkudata(L, 1, LUA_FILEHANDLE)) static int io_type (lua_State *L) {