diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-11-30 21:16:15 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-11-30 21:16:15 (GMT) |
commit | 6c7ad3b1183f1a912bac6ba4fcdf0231749c359e (patch) | |
tree | ba15e242bf1e139c2ef100e97807276186c0fde8 /generic/tcl.h | |
parent | a7d6b92abf2f95c2c8478c3bd79ee9da76c6d717 (diff) | |
download | tcl-6c7ad3b1183f1a912bac6ba4fcdf0231749c359e.zip tcl-6c7ad3b1183f1a912bac6ba4fcdf0231749c359e.tar.gz tcl-6c7ad3b1183f1a912bac6ba4fcdf0231749c359e.tar.bz2 |
Let Tcl_GetEncodingNulLength() return size_t on 9.0, for consisancy with other API's. No change on 8.7
Diffstat (limited to 'generic/tcl.h')
-rw-r--r-- | generic/tcl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index ebe989c..c6afaa1 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -2078,11 +2078,11 @@ typedef struct Tcl_EncodingType { * encoding is deleted. */ void *clientData; /* Arbitrary value associated with encoding * type. Passed to conversion functions. */ - int nullSize; /* Number of zero bytes that signify + Tcl_Size nullSize; /* Number of zero bytes that signify * end-of-string in this encoding. This number * is used to determine the source string * length when the srcLen argument is - * negative. Must be 1 or 2. */ + * negative. Must be 1, 2, or 4. */ } Tcl_EncodingType; /* |