summaryrefslogtreecommitdiffstats
path: root/generic/tclEnsemble.c
diff options
context:
space:
mode:
authormig <mig>2013-01-11 12:42:14 (GMT)
committermig <mig>2013-01-11 12:42:14 (GMT)
commit0c2d5031a205445ac91209816f31a8a943b3921a (patch)
treeaf1e0947d55ec2c3c237c75a2f72d6b793d87951 /generic/tclEnsemble.c
parente89dea9b9b819e7b5ddc8d171127b749e237af35 (diff)
downloadtcl-0c2d5031a205445ac91209816f31a8a943b3921a.zip
tcl-0c2d5031a205445ac91209816f31a8a943b3921a.tar.gz
tcl-0c2d5031a205445ac91209816f31a8a943b3921a.tar.bz2
Name functions according to 'what' instead of 'how' in the [tailcall]
machinery, in view of making public some parts of it.
Diffstat (limited to 'generic/tclEnsemble.c')
-rw-r--r--generic/tclEnsemble.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclEnsemble.c b/generic/tclEnsemble.c
index 2753876..058590a 100644
--- a/generic/tclEnsemble.c
+++ b/generic/tclEnsemble.c
@@ -1914,7 +1914,7 @@ NsEnsembleImplementationCmdNR(
* Hand off to the target command.
*/
- TclDeferCallbacks(interp, /* skip tailcalls */ 1);
+ TclSkipTailcall(interp);
return TclNREvalObjEx(interp, copyPtr, TCL_EVAL_INVOKE, NULL,INT_MIN);
}
@@ -2122,7 +2122,7 @@ EnsembleUnknownCallback(
*/
Tcl_Preserve(ensemblePtr);
- TclDeferCallbacks (interp, /*skip tailcalls */ 1);
+ TclSkipTailcall(interp);
result = Tcl_EvalObjv(interp, paramc, paramv, 0);
if ((result == TCL_OK) && (ensemblePtr->flags & ENSEMBLE_DEAD)) {
if (!Tcl_InterpDeleted(interp)) {