diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-09-26 12:02:26 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-09-26 12:02:26 -0300 |
commit | a580480b07cdf7201306b246deeb2fe84f2c25a9 (patch) | |
tree | 30e9d4798228156eea5be2589834f1ff2db4355e /lvm.h | |
parent | 0dd6d1080e7f58eb17cb8a2ad3fc5801ed7c0532 (diff) | |
download | lua-a580480b07cdf7201306b246deeb2fe84f2c25a9.tar.gz lua-a580480b07cdf7201306b246deeb2fe84f2c25a9.tar.bz2 lua-a580480b07cdf7201306b246deeb2fe84f2c25a9.zip |
new implementation for globals: Global value is stored in TaggedString
Diffstat (limited to 'lvm.h')
-rw-r--r-- | lvm.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: $ | 2 | ** $Id: lvm.h,v 1.1 1997/09/16 19:25:59 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 | */ |
@@ -21,8 +21,8 @@ int luaV_tonumber (TObject *obj); | |||
21 | int luaV_tostring (TObject *obj); | 21 | int luaV_tostring (TObject *obj); |
22 | void luaV_gettable (void); | 22 | void luaV_gettable (void); |
23 | void luaV_settable (TObject *t, int mode); | 23 | void luaV_settable (TObject *t, int mode); |
24 | void luaV_getglobal (Word n); | 24 | void luaV_getglobal (TaggedString *ts); |
25 | void luaV_setglobal (Word n); | 25 | void luaV_setglobal (TaggedString *ts); |
26 | StkId luaV_execute (Closure *func, StkId base); | 26 | StkId luaV_execute (Closure *func, StkId base); |
27 | void luaV_closure (void); | 27 | void luaV_closure (void); |
28 | 28 | ||