commit 9f3785a2f375989fbac59f82efe38768919cc334
parent 84e92e09765c568ba5be25b3d21a5745ee4002ba
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Tue, 16 Sep 1997 16:25:38 -0300
Lua standard libraries
Diffstat:
M | lualib.h | | | 27 | ++++++++++++++++++--------- |
1 file changed, 18 insertions(+), 9 deletions(-)
diff --git a/lualib.h b/lualib.h
@@ -1,18 +1,28 @@
/*
-** Libraries to be used in LUA programs
-** Grupo de Tecnologia em Computacao Grafica
-** TeCGraf - PUC-Rio
-** $Id: lualib.h,v 1.12 1997/03/18 15:30:50 roberto Exp roberto $
+** $Id: $
+** Lua standard libraries
+** See Copyright Notice in lua.h
*/
+
#ifndef lualib_h
#define lualib_h
#include "lua.h"
-void iolib_open (void);
-void strlib_open (void);
-void mathlib_open (void);
+
+void lua_iolibopen (void);
+void lua_strlibopen (void);
+void lua_mathlibopen (void);
+
+
+
+
+/* To keep compatibility with old versions */
+
+#define iolib_open lua_iolibopen
+#define strlib_open lua_strlibopen
+#define mathlib_open lua_mathlibopen
@@ -22,8 +32,7 @@ char *luaI_addchar (int c);
void luaI_emptybuff (void);
void luaI_addquoted (char *s);
-char *luaL_item_end (char *p);
-int luaL_singlematch (int c, char *p);
+int luaI_singlematch (int c, char *p, char **ep);
#endif