summaryrefslogtreecommitdiffstats
path: root/doc/BoolObj.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-10 10:05:38 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-10 10:05:38 (GMT)
commit8e201fe70ae46fb598e25892b65afd28cada04e1 (patch)
treecafbda1f6d60fb26010a9041db7e69835dd2c0b6 /doc/BoolObj.3
parent501eda93e681896f1341adc2fcee8db645ea1f66 (diff)
parent502f4114390509fa4af8ec75e10cf627fde92da2 (diff)
downloadtcl-8e201fe70ae46fb598e25892b65afd28cada04e1.zip
tcl-8e201fe70ae46fb598e25892b65afd28cada04e1.tar.gz
tcl-8e201fe70ae46fb598e25892b65afd28cada04e1.tar.bz2
Merge 8.7. Update doc
Diffstat (limited to 'doc/BoolObj.3')
-rw-r--r--doc/BoolObj.38
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/BoolObj.3 b/doc/BoolObj.3
index 7dc0233..cc8729e 100644
--- a/doc/BoolObj.3
+++ b/doc/BoolObj.3
@@ -23,7 +23,7 @@ int
\fBTcl_GetBooleanFromObj\fR(\fIinterp, objPtr, intPtr\fR)
.sp
int
-\fBTcl_GetBoolFromObj\fR(\fIinterp, objPtr, flags. boolPtr\fR)
+\fBTcl_GetBoolFromObj\fR(\fIinterp, objPtr, flags. charPtr\fR)
.SH ARGUMENTS
.AS Tcl_Interp intValue in/out
.AP int intValue in
@@ -38,13 +38,13 @@ unless \fIinterp\fR is NULL.
.AP int *intPtr out
Points to place where \fBTcl_GetBooleanFromObj\fR
stores the boolean value (0 or 1) obtained from \fIobjPtr\fR.
-.AP int | short | char | enum | bool *boolPtr out
+.AP char *charPtr out
Points to place where \fBTcl_GetBoolFromObj\fR
stores the boolean value (0 or 1) obtained from \fIobjPtr\fR.
.AP int flags in
-sizeof(*(boolPtr)), possibly combined with TCL_NULL_OK. If TCL_NULL_OK
+0 or TCL_NULL_OK. If TCL_NULL_OK
is used, then the empty string or NULL will result in \fBTcl_GetBoolFromObj\fR
-return TCL_OK, the *boolPtr filled with the value -1;
+return TCL_OK, the *charPtr filled with the value \fB'\exFF'\fR;
.BE
.SH DESCRIPTION