aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lstate.h b/lstate.h
index 022fd29f..37bf7739 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.116 2014/10/06 21:34:34 roberto Exp roberto $ 2** $Id: lstate.h,v 2.117 2014/10/07 18:29:13 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*/
@@ -103,11 +103,11 @@ typedef struct CallInfo {
103 103
104 104
105/* 105/*
106** `global state', shared by all threads of this state 106** 'global state', shared by all threads of this state
107*/ 107*/
108typedef struct global_State { 108typedef struct global_State {
109 lua_Alloc frealloc; /* function to reallocate memory */ 109 lua_Alloc frealloc; /* function to reallocate memory */
110 void *ud; /* auxiliary data to `frealloc' */ 110 void *ud; /* auxiliary data to 'frealloc' */
111 lu_mem totalbytes; /* number of bytes currently allocated - GCdebt */ 111 lu_mem totalbytes; /* number of bytes currently allocated - GCdebt */
112 l_mem GCdebt; /* bytes allocated not yet compensated by the collector */ 112 l_mem GCdebt; /* bytes allocated not yet compensated by the collector */
113 lu_mem GCmemtrav; /* memory traversed by the GC */ 113 lu_mem GCmemtrav; /* memory traversed by the GC */
@@ -133,7 +133,7 @@ typedef struct global_State {
133 Mbuffer buff; /* temporary buffer for string concatenation */ 133 Mbuffer buff; /* temporary buffer for string concatenation */
134 unsigned int gcfinnum; /* number of finalizers to call in each GC step */ 134 unsigned int gcfinnum; /* number of finalizers to call in each GC step */
135 int gcpause; /* size of pause between successive GCs */ 135 int gcpause; /* size of pause between successive GCs */
136 int gcstepmul; /* GC `granularity' */ 136 int gcstepmul; /* GC 'granularity' */
137 lua_CFunction panic; /* to be called in unprotected errors */ 137 lua_CFunction panic; /* to be called in unprotected errors */
138 struct lua_State *mainthread; 138 struct lua_State *mainthread;
139 const lua_Number *version; /* pointer to version number */ 139 const lua_Number *version; /* pointer to version number */
@@ -144,7 +144,7 @@ typedef struct global_State {
144 144
145 145
146/* 146/*
147** `per thread' state 147** 'per thread' state
148*/ 148*/
149struct lua_State { 149struct lua_State {
150 CommonHeader; 150 CommonHeader;