summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorhypnotoad <yoda@etoyoc.com>2017-12-13 15:52:05 (GMT)
committerhypnotoad <yoda@etoyoc.com>2017-12-13 15:52:05 (GMT)
commit2756d018724b48a2990f32b6fb5f03906ec50683 (patch)
tree7f106b635fb6ba67d2156b1e7836e908fba54394 /generic/tclInt.h
parent9b22762d4cb8c30dfa46748d1cd46e698ccf17b4 (diff)
parent191ea171cb79131cc69c27ced1d55626347f0d78 (diff)
downloadtcl-2756d018724b48a2990f32b6fb5f03906ec50683.zip
tcl-2756d018724b48a2990f32b6fb5f03906ec50683.tar.gz
tcl-2756d018724b48a2990f32b6fb5f03906ec50683.tar.bz2
Pulling changes from core-8-branch
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 7d2fafa..f9087bf 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -3219,6 +3219,7 @@ MODULE_SCOPE int TclTrimLeft(const char *bytes, int numBytes,
const char *trim, int numTrim);
MODULE_SCOPE int TclTrimRight(const char *bytes, int numBytes,
const char *trim, int numTrim);
+MODULE_SCOPE int TclUtfCmp(const char *cs, const char *ct);
MODULE_SCOPE int TclUtfCasecmp(const char *cs, const char *ct);
MODULE_SCOPE int TclUtfCount(int ch);
MODULE_SCOPE Tcl_Obj * TclpNativeToNormalized(ClientData clientData);
@@ -4454,7 +4455,7 @@ MODULE_SCOPE void TclDbInitNewObj(Tcl_Obj *objPtr, const char *file,
*/
#define TclUtfToUniChar(str, chPtr) \
- ((((unsigned char) *(str)) < 0xC0) ? \
+ ((((unsigned char) *(str)) < 0x80) ? \
((*(chPtr) = (unsigned char) *(str)), 1) \
: Tcl_UtfToUniChar(str, chPtr))