diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-05-19 13:40:54 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-05-19 13:40:54 (GMT) |
commit | 6a040914a92f3123df4f68d43fa45c58558afde4 (patch) | |
tree | 7d478ececccea899bf7cb2c5d020fa462494ee5b /generic/tclObj.c | |
parent | 5822159301f9c80ebea99d9d92a0dc4bd908daaf (diff) | |
parent | af999a3a2c4770f8654059f5c5b50d766cc88c7f (diff) | |
download | tcl-6a040914a92f3123df4f68d43fa45c58558afde4.zip tcl-6a040914a92f3123df4f68d43fa45c58558afde4.tar.gz tcl-6a040914a92f3123df4f68d43fa45c58558afde4.tar.bz2 |
Merge 8.7
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r-- | generic/tclObj.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c index 0ea5511..1a9925b 100644 --- a/generic/tclObj.c +++ b/generic/tclObj.c @@ -387,7 +387,9 @@ TclInitObjSubsystem(void) Tcl_RegisterObjType(&tclByteArrayType); Tcl_RegisterObjType(&tclDoubleType); +#if (TCL_UTF_MAX < 4) || !defined(TCL_NO_DEPRECATED) Tcl_RegisterObjType(&tclStringType); +#endif Tcl_RegisterObjType(&tclListType); Tcl_RegisterObjType(&tclDictType); Tcl_RegisterObjType(&tclByteCodeType); @@ -875,7 +877,7 @@ Tcl_AppendAllObjTypes( * Get the test for a valid list out of the way first. */ - if (TclListObjLength(interp, objPtr, &numElems) != TCL_OK) { + if (TclListObjLengthM(interp, objPtr, &numElems) != TCL_OK) { return TCL_ERROR; } |