summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-09-16 16:25:59 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-09-16 16:25:59 -0300
commit9f3785a2f375989fbac59f82efe38768919cc334 (patch)
tree4d66055eeb68a9db5bb00950fd5415a4c6a0ff38
parent84e92e09765c568ba5be25b3d21a5745ee4002ba (diff)
downloadlua-github-9f3785a2f375989fbac59f82efe38768919cc334.tar.gz
Lua standard libraries
-rw-r--r--lualib.h27
1 files changed, 18 insertions, 9 deletions
diff --git a/lualib.h b/lualib.h
index 03c7734d..0031de9f 100644
--- 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