changeset 10017 | de822cd3df3a |
parent 2812 | 0a24853de796 |
--- a/misc/liblua/liolib.c Tue Jan 21 22:38:13 2014 +0100 +++ b/misc/liblua/liolib.c Tue Jan 21 22:43:06 2014 +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) {