Browse Source

use standard "underscore + uppercases" for reserved keys in the registry

Roberto Ierusalimschy 14 years ago
parent
commit
594220c624
1 changed files with 2 additions and 2 deletions
  1. 2 2
      liolib.c

+ 2 - 2
liolib.c

@@ -1,5 +1,5 @@
 /*
 /*
-** $Id: liolib.c,v 2.99 2011/03/03 16:34:46 roberto Exp roberto $
+** $Id: liolib.c,v 2.100 2011/06/21 13:43:48 roberto Exp roberto $
 ** Standard I/O (and system) library
 ** Standard I/O (and system) library
 ** See Copyright Notice in lua.h
 ** See Copyright Notice in lua.h
 */
 */
@@ -49,7 +49,7 @@
 #endif			/* } */
 #endif			/* } */
 
 
 
 
-#define IO_PREFIX	"lua_io_"
+#define IO_PREFIX	"_IO_"
 #define IO_INPUT	(IO_PREFIX "input")
 #define IO_INPUT	(IO_PREFIX "input")
 #define IO_OUTPUT	(IO_PREFIX "output")
 #define IO_OUTPUT	(IO_PREFIX "output")