summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-04-27 12:47:08 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-04-27 12:47:08 (GMT)
commit18f61eeeeb444689bb9871ce53c8187e7bc3133a (patch)
tree8027a8be65cf65dbf63921e51113b8fcca7590c5 /generic/tclInt.h
parent5ddcd8fea990af78cce1ef7d706e0a0ce81a317b (diff)
downloadtcl-18f61eeeeb444689bb9871ce53c8187e7bc3133a.zip
tcl-18f61eeeeb444689bb9871ce53c8187e7bc3133a.tar.gz
tcl-18f61eeeeb444689bb9871ce53c8187e7bc3133a.tar.bz2
More checks for exceeding max words
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index d777e38..df708b4 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -4173,6 +4173,12 @@ MODULE_SCOPE int TclIndexEncode(Tcl_Interp *interp, Tcl_Obj *objPtr,
MODULE_SCOPE Tcl_Size TclIndexDecode(int encoded, Tcl_Size endValue);
MODULE_SCOPE int TclIndexInvalidError(Tcl_Interp *interp,
const char *idxType, Tcl_Size idx);
+
+/*
+ * Error message utility functions
+ */
+MODULE_SCOPE int TclCommandWordLimitError(Tcl_Interp *interp, Tcl_Size count);
+
#endif /* TCL_MAJOR_VERSION > 8 */
/* Constants used in index value encoding routines. */