summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
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/tclInt.h
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/tclInt.h')
-rw-r--r--generic/tclInt.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 6cf594e..18768d9 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -2805,7 +2805,11 @@ MODULE_SCOPE Tcl_ObjCmdProc TclNRYieldmObjCmd;
MODULE_SCOPE Tcl_ObjCmdProc TclNRYieldToObjCmd;
MODULE_SCOPE void TclSetTailcall(Tcl_Interp *interp, Tcl_Obj *tailcallPtr);
-MODULE_SCOPE void TclDeferCallbacks(Tcl_Interp *interp, int skipTailcall);
+MODULE_SCOPE void TclPushTailcallPoint(Tcl_Interp *interp);
+
+/* These two can be considered for the public api */
+MODULE_SCOPE void TclMarkTailcall(Tcl_Interp *interp);
+MODULE_SCOPE void TclSkipTailcall(Tcl_Interp *interp);
/*
* This structure holds the data for the various iteration callbacks used to
@@ -2880,7 +2884,6 @@ MODULE_SCOPE void TclAppendBytesToByteArray(Tcl_Obj *objPtr,
const unsigned char *bytes, int len);
MODULE_SCOPE int TclNREvalCmd(Tcl_Interp *interp, Tcl_Obj *objPtr,
int flags);
-MODULE_SCOPE void TclPushTailcallPoint(Tcl_Interp *interp);
MODULE_SCOPE void TclAdvanceContinuations(int *line, int **next,
int loc);
MODULE_SCOPE void TclAdvanceLines(int *line, const char *start,