summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-07 20:38:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-07 20:38:54 (GMT)
commitd6fda47fa83529c59f32df1e8ba6541d58f83bd9 (patch)
tree98a92fab70d068cbf27a878c3287df3919249f94 /generic/tclUtf.c
parent3e181ede9d6b4c3b54b754325910abbe7fe66212 (diff)
parentb02bf2903655487dd351643830a50035ffb4aecd (diff)
downloadtcl-d6fda47fa83529c59f32df1e8ba6541d58f83bd9.zip
tcl-d6fda47fa83529c59f32df1e8ba6541d58f83bd9.tar.gz
tcl-d6fda47fa83529c59f32df1e8ba6541d58f83bd9.tar.bz2
Merge 8.7, and a few tweaks: Only provide Tcl_WinUtfToTChar on Tcl 8.x, not on 9.0 any more
Diffstat (limited to 'generic/tclUtf.c')
-rw-r--r--generic/tclUtf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclUtf.c b/generic/tclUtf.c
index 395f4ed..962a3e2 100644
--- a/generic/tclUtf.c
+++ b/generic/tclUtf.c
@@ -260,6 +260,7 @@ Tcl_UniCharToUtfDString(
return string;
}
+#undef Tcl_WCharToUtfDString
char *
Tcl_WCharToUtfDString(
const unsigned short *uniStr, /* Utf-16 string to convert to UTF-8. */
@@ -608,6 +609,7 @@ Tcl_UtfToUniCharDString(
return wString;
}
+#undef Tcl_UtfToWCharDString
unsigned short *
Tcl_UtfToWCharDString(
const char *src, /* UTF-8 string to convert to Unicode. */