diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-05-08 16:32:53 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-05-08 16:32:53 -0300 |
commit | 11a70220670f25a9929439f0b27331f09f05235c (patch) | |
tree | c4a962b5a3e53ac6df8894fb3ad2248c4a1256cb /lvm.h | |
parent | 35a6ed283881f313152457f24cc6c677122d5058 (diff) | |
download | lua-11a70220670f25a9929439f0b27331f09f05235c.tar.gz lua-11a70220670f25a9929439f0b27331f09f05235c.tar.bz2 lua-11a70220670f25a9929439f0b27331f09f05235c.zip |
global variables are stored in a Lua table
Diffstat (limited to '')
-rw-r--r-- | lvm.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.h,v 1.20 2000/03/29 20:19:20 roberto Exp roberto $ | 2 | ** $Id: lvm.h,v 1.21 2000/04/19 13:36:25 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 | */ |
@@ -23,9 +23,8 @@ int luaV_tostring (lua_State *L, TObject *obj); | |||
23 | void luaV_setn (lua_State *L, Hash *t, int val); | 23 | void luaV_setn (lua_State *L, Hash *t, int val); |
24 | void luaV_gettable (lua_State *L, StkId top); | 24 | void luaV_gettable (lua_State *L, StkId top); |
25 | void luaV_settable (lua_State *L, StkId t, StkId top); | 25 | void luaV_settable (lua_State *L, StkId t, StkId top); |
26 | void luaV_rawsettable (lua_State *L, StkId t); | 26 | void luaV_getglobal (lua_State *L, TString *s, StkId top); |
27 | void luaV_getglobal (lua_State *L, GlobalVar *gv, StkId top); | 27 | void luaV_setglobal (lua_State *L, TString *s, StkId top); |
28 | void luaV_setglobal (lua_State *L, GlobalVar *gv, StkId top); | ||
29 | StkId luaV_execute (lua_State *L, const Closure *cl, StkId base); | 28 | StkId luaV_execute (lua_State *L, const Closure *cl, StkId base); |
30 | void luaV_Cclosure (lua_State *L, lua_CFunction c, int nelems); | 29 | void luaV_Cclosure (lua_State *L, lua_CFunction c, int nelems); |
31 | void luaV_Lclosure (lua_State *L, Proto *l, int nelems); | 30 | void luaV_Lclosure (lua_State *L, Proto *l, int nelems); |