summaryrefslogtreecommitdiffstats
path: root/doc/AddErrInfo.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-05-25 09:30:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-05-25 09:30:20 (GMT)
commite7ff6cacbcb54ddb99776ccdebc712ac946e583b (patch)
tree52200189ed4442727318a91f9025457075dbb88f /doc/AddErrInfo.3
parent08902d8a97128693fedfc54e48c9ecb46d78e33f (diff)
downloadtcl-e7ff6cacbcb54ddb99776ccdebc712ac946e583b.zip
tcl-e7ff6cacbcb54ddb99776ccdebc712ac946e583b.tar.gz
tcl-e7ff6cacbcb54ddb99776ccdebc712ac946e583b.tar.bz2
Fix [3f9b4e0c81]: CrtObjCmd.3, NRE.3, SplitList.3: constify cmdName, list
(actually quite a few more where the documentation didn't match the header files ....)
Diffstat (limited to 'doc/AddErrInfo.3')
-rw-r--r--doc/AddErrInfo.34
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/AddErrInfo.3 b/doc/AddErrInfo.3
index caba125..d6580be 100644
--- a/doc/AddErrInfo.3
+++ b/doc/AddErrInfo.3
@@ -49,7 +49,7 @@ Interpreter in which to record information.
The code returned from script evaluation.
.AP Tcl_Obj *options
A dictionary of return options.
-.AP char *message in
+.AP "const char" *message in
For \fBTcl_AddErrorInfo\fR,
this is a conventional C string to append to the \fB\-errorinfo\fR return option.
For \fBTcl_AddObjErrorInfo\fR,
@@ -66,7 +66,7 @@ appending to the \fB\-errorinfo\fR return option.
If negative, all bytes up to the first null byte are used.
.AP Tcl_Obj *errorObjPtr in
The \fB\-errorcode\fR return option will be set to this value.
-.AP char *element in
+.AP "const char" *element in
String to record as one element of the \fB\-errorcode\fR return option.
Last \fIelement\fR argument must be NULL.
.AP va_list argList in