Tcl 9 StringObj.3 - lengthPtr not documented
Open1f1b1686268813f2db7da60e96980a1c750d0c99Created 4 years agoUpdated 4 years ago
Descriptionplain2023-01-27 16:37:24
StringObj.3 documents amongst others the API funktions Tcl_GetStringFromObj(objPtr, lengthPtr) Tcl_GetUnicodeFromObj(objPtr, lengthPtr) The argument lengthPtr isn't documented as all the other arguments (and in the Tcl 8 version of the man page). Obviously an oversight/mistake. Should be added, since just the type of that argument changed in Tcl 9.
jan.nijtmanswiki2023-01-27 20:23:30
pointsmanplain2023-01-27 22:58:44
Ah, then this perhaps an markup / formating error.
If I look at the StringObj.3 man page on a debian 11.6 in the doc directory with
man -l StringObj.3
then I see
size_t | (int) The location where
Tcl_GetStringFromObj will
store the length of a
value's string represenā
tation. May be (int
*)NULL when not used.
I missed initially because I searched for "lengthPtr".
For me on that box (with man version 2.9.4) I don't see "lengtPtr (out)" which is indeed in the man page source code.
Log in (anonymous is fine) to add a comment.