summaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-08-31 11:08:27 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-08-31 11:08:27 -0300
commit100bfec39a3de3029a97e645e7fe33877d7bbc2f (patch)
tree01c2c9bb63f71d3fb186b8f5be0b7577978f8a19 /lua.h
parenta290b84c670bbf0770d76429e7282c555a80058e (diff)
downloadlua-100bfec39a3de3029a97e645e7fe33877d7bbc2f.tar.gz
lua-100bfec39a3de3029a97e645e7fe33877d7bbc2f.tar.bz2
lua-100bfec39a3de3029a97e645e7fe33877d7bbc2f.zip
new implementation for `next'
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lua.h b/lua.h
index 567f4e1a..0ad37ad6 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.61 2000/08/29 14:33:31 roberto Exp roberto $ 2** $Id: lua.h,v 1.62 2000/08/29 20:43:28 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil 4** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
5** e-mail: lua@tecgraf.puc-rio.br 5** e-mail: lua@tecgraf.puc-rio.br
@@ -29,6 +29,7 @@
29#define LUA_REFNIL (-1) 29#define LUA_REFNIL (-1)
30 30
31#define LUA_ANYTAG (-1) 31#define LUA_ANYTAG (-1)
32#define LUA_NOTAG (-2)
32 33
33#define LUA_MULTRET (-1) 34#define LUA_MULTRET (-1)
34 35
@@ -129,7 +130,7 @@ int lua_dobuffer (lua_State *L, const char *buff, size_t size,
129 130
130 131
131/* 132/*
132** miscelaneous functions 133** miscellaneous functions
133*/ 134*/
134int lua_newtag (lua_State *L); 135int lua_newtag (lua_State *L);
135int lua_copytagmethods (lua_State *L, int tagto, int tagfrom); 136int lua_copytagmethods (lua_State *L, int tagto, int tagfrom);
@@ -141,7 +142,7 @@ void lua_unref (lua_State *L, int ref);
141 142
142long lua_collectgarbage (lua_State *L, long limit); 143long lua_collectgarbage (lua_State *L, long limit);
143 144
144int lua_next (lua_State *L, int index, int i); 145int lua_next (lua_State *L);
145 146
146 147
147 148