summaryrefslogtreecommitdiffstats
path: root/doc/Number.3
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-04-19 09:18:32 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-04-19 09:18:32 (GMT)
commitae3ae231d062923a954f46ee5d854b7cb1ed3360 (patch)
treeee4764a682218ba0762817716723101f26a5155f /doc/Number.3
parentd87bc3c2f0cc186486e5c0fee0dc59a8e952cbaa (diff)
parentd4dd40b364d4b3e6a4fa9e5b26c65d79e7d3d58d (diff)
downloadtcl-ae3ae231d062923a954f46ee5d854b7cb1ed3360.zip
tcl-ae3ae231d062923a954f46ee5d854b7cb1ed3360.tar.gz
tcl-ae3ae231d062923a954f46ee5d854b7cb1ed3360.tar.bz2
Merge trunk
Diffstat (limited to 'doc/Number.3')
-rw-r--r--doc/Number.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/Number.3 b/doc/Number.3
index f405060..1bf018a 100644
--- a/doc/Number.3
+++ b/doc/Number.3
@@ -27,9 +27,9 @@ When non-NULL, error information is recorded here when the value is not
in any of the numeric formats recognized by Tcl.
.AP "const char" *bytes in
Points to first byte of the string value to be examined.
-.AP size_t numBytes in
+.AP Tcl_Size numBytes in
The number of bytes, starting at \fIbytes\fR, that should be examined.
-If the value \fBTCL_INDEX_NONE\fR is provided, then all bytes should
+If \fBnumBytes\fR is negative, then all bytes should
be examined until the first \fBNUL\fR byte terminates examination.
.AP "void *" *clientDataPtr out
Points to space where a pointer value may be written through which a numeric
@@ -63,7 +63,7 @@ the same function. They differ only in how the arguments present the Tcl
value to be examined. \fBTcl_GetNumber\fR accepts a counted string
value in the arguments \fIbytes\fR and \fInumBytes\fR (or a
\fBNUL\fR-terminated string value when \fInumBytes\fR is
-\fBTCL_INDEX_NONE\fR). \fBTcl_GetNumberFromObj\fR accepts the Tcl value
+negative). \fBTcl_GetNumberFromObj\fR accepts the Tcl value
in \fIobjPtr\fR.
.PP
Both routines examine the Tcl value and determine whether Tcl recognizes