summaryrefslogtreecommitdiffstats
path: root/generic/tcl.decls
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-09-25 18:24:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-09-25 18:24:52 (GMT)
commit69efa801a21b9488aff642c3bbf2d9c79be41dc7 (patch)
treefe74e16243bb94f3e5f7a1f461e60e3cb107ff2b /generic/tcl.decls
parent31f30b5b76b8119976e9b2fbf14f906cc1f93dbf (diff)
downloadtcl-69efa801a21b9488aff642c3bbf2d9c79be41dc7.zip
tcl-69efa801a21b9488aff642c3bbf2d9c79be41dc7.tar.gz
tcl-69efa801a21b9488aff642c3bbf2d9c79be41dc7.tar.bz2
Make last argument of Tcl_GetByteArrayFromObj() "Tcl_Size *" in stead of "int". Is exactly the same in 8.7, and reduces confusion in 9.0. See [1468052732]
Diffstat (limited to 'generic/tcl.decls')
-rw-r--r--generic/tcl.decls2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tcl.decls b/generic/tcl.decls
index 5880031..4572817 100644
--- a/generic/tcl.decls
+++ b/generic/tcl.decls
@@ -144,7 +144,7 @@ declare 32 {
}
# Only available in Tcl 8.x, NULL in Tcl 9.0
declare 33 {
- unsigned char *Tcl_GetByteArrayFromObj(Tcl_Obj *objPtr, int *numBytesPtr)
+ unsigned char *Tcl_GetByteArrayFromObj(Tcl_Obj *objPtr, Tcl_Size *numBytesPtr)
}
declare 34 {
int Tcl_GetDouble(Tcl_Interp *interp, const char *src, double *doublePtr)