From 370e151c6988f658a43fa9a98afc99b5593fe195 Mon Sep 17 00:00:00 2001 From: dgp Date: Sat, 6 Nov 2021 22:45:26 +0000 Subject: typo --- doc/ByteArrObj.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ByteArrObj.3 b/doc/ByteArrObj.3 index cf033f8..16e0ea8 100644 --- a/doc/ByteArrObj.3 +++ b/doc/ByteArrObj.3 @@ -143,7 +143,7 @@ for compatibility with codebases written for earlier releases of Tcl. It is expected this routine will incompatibly change in Tcl 9 so that it also signals failed conversions with a NULL return. .PP -On success, both \fBTcl_GetByteFromObj\fR and \fBTcl_GetByteArrayFromObj\fR +On success, both \fBTcl_GetBytesFromObj\fR and \fBTcl_GetByteArrayFromObj\fR return a pointer into the internal representation of a \fBTcl_Obj\fR. That pointer must not be freed by the caller, and should not be retained for use beyond the known time the internal representation of the value -- cgit v0.12