aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-13 13:36:52 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-13 13:36:52 -0200
commit5440b42f434ecb6fe7a8e0d19fb8e8baf82e90b7 (patch)
tree6a54560da88065db590bf439c7af64fea88334bb /lstate.h
parent7d4828cc9fdc982ec713922777e77240892474e8 (diff)
downloadlua-5440b42f434ecb6fe7a8e0d19fb8e8baf82e90b7.tar.gz
lua-5440b42f434ecb6fe7a8e0d19fb8e8baf82e90b7.tar.bz2
lua-5440b42f434ecb6fe7a8e0d19fb8e8baf82e90b7.zip
using 'trap' to stop 'luaV_execute' when necessary (tracing and
to update its copy of 'base' when the stack is reallocated)
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lstate.h b/lstate.h
index 4798474c..02715dfb 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.146 2017/11/02 11:28:56 roberto Exp $ 2** $Id: lstate.h,v 2.150 2017/11/07 13:25:26 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*/
@@ -91,6 +91,7 @@ typedef struct CallInfo {
91 union { 91 union {
92 struct { /* only for Lua functions */ 92 struct { /* only for Lua functions */
93 const Instruction *savedpc; 93 const Instruction *savedpc;
94 l_signalT trap;
94 } l; 95 } l;
95 struct { /* only for C functions */ 96 struct { /* only for C functions */
96 lua_KFunction k; /* continuation in case of yields */ 97 lua_KFunction k; /* continuation in case of yields */