aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/lstate.h b/lstate.h
index ed46fb1f..a62bcef8 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 1.113 2003/11/18 14:55:11 roberto Exp roberto $ 2** $Id: lstate.h,v 1.114 2003/12/01 16:33:30 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -42,9 +42,6 @@
42struct lua_longjmp; /* defined in ldo.c */ 42struct lua_longjmp; /* defined in ldo.c */
43 43
44 44
45/* default meta table (both for tables and udata) */
46#define defaultmeta(L) (&G(L)->_defaultmeta)
47
48/* table of globals */ 45/* table of globals */
49#define gt(L) (&L->_gt) 46#define gt(L) (&L->_gt)
50 47
@@ -113,7 +110,6 @@ typedef struct global_State {
113 lu_mem nblocks; /* number of `bytes' currently allocated */ 110 lu_mem nblocks; /* number of `bytes' currently allocated */
114 lua_CFunction panic; /* to be called in unprotected errors */ 111 lua_CFunction panic; /* to be called in unprotected errors */
115 TObject _registry; 112 TObject _registry;
116 TObject _defaultmeta;
117 struct lua_State *mainthread; 113 struct lua_State *mainthread;
118 Node dummynode[1]; /* common node array for all empty tables */ 114 Node dummynode[1]; /* common node array for all empty tables */
119 TString *tmname[TM_N]; /* array with tag-method names */ 115 TString *tmname[TM_N]; /* array with tag-method names */