diff options
author | Lua Team <team@lua.org> | 2005-09-09 12:00:00 +0000 |
---|---|---|
committer | repogen <> | 2005-09-09 12:00:00 +0000 |
commit | bd80c4ee9b6d9464cf9f3ff4ee41890d8b3ca9e6 (patch) | |
tree | e1d7c1b341ccb9a3a1fb044ac6e67b5a5e0259b7 /src/lstate.h | |
parent | bf6b5550cdfbc0c4a3a4577776ad76628d80718e (diff) | |
download | lua-github-bd80c4ee9b6d9464cf9f3ff4ee41890d8b3ca9e6.tar.gz |
Lua 5.1-alpha5.1-alpha
Diffstat (limited to 'src/lstate.h')
-rw-r--r-- | src/lstate.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lstate.h b/src/lstate.h index 7dafa4d5..e8bc15ab 100644 --- a/src/lstate.h +++ b/src/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.21 2005/05/05 15:34:03 roberto Exp $ +** $Id: lstate.h,v 2.23 2005/07/09 13:22:34 roberto Exp $ ** Global State ** See Copyright Notice in lua.h */ @@ -19,10 +19,10 @@ struct lua_longjmp; /* defined in ldo.c */ /* table of globals */ -#define gt(L) (&L->_gt) +#define gt(L) (&L->l_gt) /* registry */ -#define registry(L) (&G(L)->_registry) +#define registry(L) (&G(L)->l_registry) /* extra stack space to handle TM calls and some other extras */ @@ -86,7 +86,7 @@ typedef struct global_State { int gcpause; /* size of pause between successive GCs */ int gcstepmul; /* GC `granularity' */ lua_CFunction panic; /* to be called in unprotected errors */ - TValue _registry; + TValue l_registry; struct lua_State *mainthread; UpVal uvhead; /* head of double-linked list of all open upvalues */ struct Table *mt[NUM_TAGS]; /* metatables for basic types */ @@ -117,7 +117,7 @@ struct lua_State { int basehookcount; int hookcount; lua_Hook hook; - TValue _gt; /* table of globals */ + TValue l_gt; /* table of globals */ TValue env; /* temporary place for environments */ GCObject *openupval; /* list of open upvalues in this stack */ GCObject *gclist; |