From 11a70220670f25a9929439f0b27331f09f05235c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 8 May 2000 16:32:53 -0300 Subject: global variables are stored in a Lua table --- lvm.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lvm.h') diff --git a/lvm.h b/lvm.h index c3b2b6cc..ae57346b 100644 --- a/lvm.h +++ b/lvm.h @@ -1,5 +1,5 @@ /* -** $Id: lvm.h,v 1.20 2000/03/29 20:19:20 roberto Exp roberto $ +** $Id: lvm.h,v 1.21 2000/04/19 13:36:25 roberto Exp roberto $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -23,9 +23,8 @@ int luaV_tostring (lua_State *L, TObject *obj); void luaV_setn (lua_State *L, Hash *t, int val); void luaV_gettable (lua_State *L, StkId top); void luaV_settable (lua_State *L, StkId t, StkId top); -void luaV_rawsettable (lua_State *L, StkId t); -void luaV_getglobal (lua_State *L, GlobalVar *gv, StkId top); -void luaV_setglobal (lua_State *L, GlobalVar *gv, StkId top); +void luaV_getglobal (lua_State *L, TString *s, StkId top); +void luaV_setglobal (lua_State *L, TString *s, StkId top); StkId luaV_execute (lua_State *L, const Closure *cl, StkId base); void luaV_Cclosure (lua_State *L, lua_CFunction c, int nelems); void luaV_Lclosure (lua_State *L, Proto *l, int nelems); -- cgit v1.2.3-55-g6feb