diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-05-14 16:25:09 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-05-14 16:25:09 -0300 |
commit | 0bda88e6cd960d3b1ad1d46826bfdef179098d2a (patch) | |
tree | d3b237faef502dba76747a5563be9ccc4c404754 /lvm.h | |
parent | 7966a4acaea50230e30acc8fd6997bce22307f24 (diff) | |
download | lua-0bda88e6cd960d3b1ad1d46826bfdef179098d2a.tar.gz lua-0bda88e6cd960d3b1ad1d46826bfdef179098d2a.tar.bz2 lua-0bda88e6cd960d3b1ad1d46826bfdef179098d2a.zip |
small steps towards yields in iterators and tag methods
Diffstat (limited to 'lvm.h')
-rw-r--r-- | lvm.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.h,v 1.49 2003/07/16 20:49:02 roberto Exp roberto $ | 2 | ** $Id: lvm.h,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -26,8 +26,10 @@ int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r); | |||
26 | int luaV_equalval (lua_State *L, const TValue *t1, const TValue *t2); | 26 | int luaV_equalval (lua_State *L, const TValue *t1, const TValue *t2); |
27 | const TValue *luaV_tonumber (const TValue *obj, TValue *n); | 27 | const TValue *luaV_tonumber (const TValue *obj, TValue *n); |
28 | int luaV_tostring (lua_State *L, StkId obj); | 28 | int luaV_tostring (lua_State *L, StkId obj); |
29 | void luaV_gettable (lua_State *L, const TValue *t, TValue *key, StkId val); | 29 | StkId luaV_gettable (lua_State *L, const TValue *t, TValue *key, StkId val, |
30 | void luaV_settable (lua_State *L, const TValue *t, TValue *key, StkId val); | 30 | const Instruction *pc); |
31 | StkId luaV_settable (lua_State *L, const TValue *t, TValue *key, StkId val, | ||
32 | const Instruction *pc); | ||
31 | StkId luaV_execute (lua_State *L, int nexeccalls); | 33 | StkId luaV_execute (lua_State *L, int nexeccalls); |
32 | void luaV_concat (lua_State *L, int total, int last); | 34 | void luaV_concat (lua_State *L, int total, int last); |
33 | 35 | ||