diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-31 11:08:27 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-31 11:08:27 -0300 |
commit | 100bfec39a3de3029a97e645e7fe33877d7bbc2f (patch) | |
tree | 01c2c9bb63f71d3fb186b8f5be0b7577978f8a19 /lua.h | |
parent | a290b84c670bbf0770d76429e7282c555a80058e (diff) | |
download | lua-100bfec39a3de3029a97e645e7fe33877d7bbc2f.tar.gz lua-100bfec39a3de3029a97e645e7fe33877d7bbc2f.tar.bz2 lua-100bfec39a3de3029a97e645e7fe33877d7bbc2f.zip |
new implementation for `next'
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 | */ |
134 | int lua_newtag (lua_State *L); | 135 | int lua_newtag (lua_State *L); |
135 | int lua_copytagmethods (lua_State *L, int tagto, int tagfrom); | 136 | int lua_copytagmethods (lua_State *L, int tagto, int tagfrom); |
@@ -141,7 +142,7 @@ void lua_unref (lua_State *L, int ref); | |||
141 | 142 | ||
142 | long lua_collectgarbage (lua_State *L, long limit); | 143 | long lua_collectgarbage (lua_State *L, long limit); |
143 | 144 | ||
144 | int lua_next (lua_State *L, int index, int i); | 145 | int lua_next (lua_State *L); |
145 | 146 | ||
146 | 147 | ||
147 | 148 | ||