diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-09-25 18:24:52 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-09-25 18:24:52 (GMT) |
commit | 69efa801a21b9488aff642c3bbf2d9c79be41dc7 (patch) | |
tree | fe74e16243bb94f3e5f7a1f461e60e3cb107ff2b /generic/tcl.decls | |
parent | 31f30b5b76b8119976e9b2fbf14f906cc1f93dbf (diff) | |
download | tcl-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.decls | 2 |
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) |