aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lstate.h b/lstate.h
index 618685c1..94af29ad 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 1.95 2002/08/30 19:09:21 roberto Exp roberto $ 2** $Id: lstate.h,v 1.96 2002/09/19 13:03:53 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*/
@@ -11,6 +11,7 @@
11 11
12#include "lobject.h" 12#include "lobject.h"
13#include "ltm.h" 13#include "ltm.h"
14#include "lzio.h"
14 15
15 16
16/* 17/*
@@ -124,8 +125,7 @@ typedef struct global_State {
124 GCObject *rootgc; /* list of (almost) all collectable objects */ 125 GCObject *rootgc; /* list of (almost) all collectable objects */
125 GCObject *rootudata; /* (separated) list of all userdata */ 126 GCObject *rootudata; /* (separated) list of all userdata */
126 GCObject *tmudata; /* list of userdata to be GC */ 127 GCObject *tmudata; /* list of userdata to be GC */
127 char *Mbuffer; /* global buffer */ 128 Mbuffer buff; /* temporary buffer for string concatentation */
128 size_t Mbuffsize; /* size of Mbuffer */
129 lu_mem GCthreshold; 129 lu_mem GCthreshold;
130 lu_mem nblocks; /* number of `bytes' currently allocated */ 130 lu_mem nblocks; /* number of `bytes' currently allocated */
131 lua_CFunction panic; /* to be called in unprotected errors */ 131 lua_CFunction panic; /* to be called in unprotected errors */