summaryrefslogtreecommitdiff
path: root/src/lua51/lstate.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-10-09 08:00:02 +0800
committerchai <chaifix@163.com>2020-10-09 08:00:02 +0800
commit207a8cfdc82231904bea5de5294b44fb33243185 (patch)
treea25d7d659bb38ecc005b8dfd879230701bd644e2 /src/lua51/lstate.h
parentdc0e292e76a00fb43ad7fbdd6d65a560927ce981 (diff)
Diffstat (limited to 'src/lua51/lstate.h')
-rw-r--r--src/lua51/lstate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua51/lstate.h b/src/lua51/lstate.h
index cb4244b..7a776bc 100644
--- a/src/lua51/lstate.h
+++ b/src/lua51/lstate.h
@@ -172,7 +172,7 @@ struct lua_State {
int hookcount;
lua_Hook hook;
TValue l_gt; /* table of globals */ //全局表 _G global table
- TValue env; /* temporary place for environments */
+ TValue env; /* temporary place for environments */ // 协程私有的环境
GCObject *openupval; /* list of open upvalues in this stack */
GCObject *gclist;
struct lua_longjmp *errorJmp; /* current error recover point */