summaryrefslogtreecommitdiff
path: root/src/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lstate.h')
-rw-r--r--src/lstate.h10
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;