diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-25 09:50:46 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-25 09:50:46 -0200 |
| commit | bdf566a8a32450c2eb6273c8c1a92e2181b6846e (patch) | |
| tree | b301da541fbad81034216a6e0465cc381082431e /lstate.h | |
| parent | c3c78030f79fdbbb06265d50645e408d60e7798e (diff) | |
| download | lua-bdf566a8a32450c2eb6273c8c1a92e2181b6846e.tar.gz lua-bdf566a8a32450c2eb6273c8c1a92e2181b6846e.tar.bz2 lua-bdf566a8a32450c2eb6273c8c1a92e2181b6846e.zip | |
`name' in comments changed to 'name'
Diffstat (limited to 'lstate.h')
| -rw-r--r-- | lstate.h | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -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 | */ |
| 108 | typedef struct global_State { | 108 | typedef 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 | */ |
| 149 | struct lua_State { | 149 | struct lua_State { |
| 150 | CommonHeader; | 150 | CommonHeader; |
