summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-06-23 12:20:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-06-23 12:20:59 (GMT)
commit814c9b57aaf622f67d64bf335061ceedf51a5c40 (patch)
tree8c01ed8f3d937c1fcb96f0ffc87b0bea69ba7c34 /generic/tclInt.h
parentd7d411426de72cbced551fa007a4e99c84d2fd0a (diff)
parent6f34bcda8f5613edbb17c22b97774e0c4317a951 (diff)
downloadtcl-814c9b57aaf622f67d64bf335061ceedf51a5c40.zip
tcl-814c9b57aaf622f67d64bf335061ceedf51a5c40.tar.gz
tcl-814c9b57aaf622f67d64bf335061ceedf51a5c40.tar.bz2
Now really merge [bug-f9800d52bd61f240] (previous commit contains test-cases only)
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index ad9a5c1..05167b7 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -1496,6 +1496,11 @@ typedef struct CoroutineData {
int nargs; /* Number of args required for resuming this
* coroutine; -2 means "0 or 1" (default), -1
* means "any" */
+ Tcl_Obj *yieldPtr; /* The command to yield to. Stored here in
+ * order to reset splice point in
+ * TclNRCoroutineActivateCallback if the
+ * coroutine is busy.
+ */
} CoroutineData;
typedef struct ExecEnv {