diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-02-23 11:57:28 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-02-23 11:57:28 -0300 |
commit | f04c83e0759b1059545ea0526c5999c35cb1793f (patch) | |
tree | 97a483571b0ee31c0620a90b3ab9a0da485759a2 /lua.h | |
parent | c364e9f97ee825be833d50a04a621d58d71af684 (diff) | |
download | lua-f04c83e0759b1059545ea0526c5999c35cb1793f.tar.gz lua-f04c83e0759b1059545ea0526c5999c35cb1793f.tar.bz2 lua-f04c83e0759b1059545ea0526c5999c35cb1793f.zip |
new function "lua_next" (+ new implementation for "next")
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.27 1999/02/09 15:59:22 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.28 1999/02/22 19:13:12 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 |
@@ -90,6 +90,8 @@ lua_Object lua_rawgettable (void); /* In: table, index */ | |||
90 | int lua_tag (lua_Object object); | 90 | int lua_tag (lua_Object object); |
91 | 91 | ||
92 | char *lua_nextvar (char *varname); /* Out: value */ | 92 | char *lua_nextvar (char *varname); /* Out: value */ |
93 | int lua_next (lua_Object o, int i); | ||
94 | /* Out: ref, value */ | ||
93 | 95 | ||
94 | int lua_ref (int lock); /* In: value */ | 96 | int lua_ref (int lock); /* In: value */ |
95 | lua_Object lua_getref (int ref); | 97 | lua_Object lua_getref (int ref); |