diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-09-14 12:41:37 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-09-14 12:41:37 (GMT) |
commit | 93022718af12833e135ad743bc6169bcfd443ddf (patch) | |
tree | b16d8ef4b2c6dd1fc739b04a568e411969721611 /generic/tcl.decls | |
parent | 5406b207723fa1acec5df7441387d1c9229a88ac (diff) | |
parent | 0ef77b52637aa508cfcf98f6fb583cbeca47b5a4 (diff) | |
download | tcl-93022718af12833e135ad743bc6169bcfd443ddf.zip tcl-93022718af12833e135ad743bc6169bcfd443ddf.tar.gz tcl-93022718af12833e135ad743bc6169bcfd443ddf.tar.bz2 |
TIP #548 implementation: Support `wchar_t` conversion functions and deprecate `Tcl_WinUtfToTChar()` and `Tcl_WinTCharToUtf()`
Diffstat (limited to 'generic/tcl.decls')
-rw-r--r-- | generic/tcl.decls | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/generic/tcl.decls b/generic/tcl.decls index a3647d7..910c29e 100644 --- a/generic/tcl.decls +++ b/generic/tcl.decls @@ -1198,7 +1198,7 @@ declare 335 { int Tcl_UtfToTitle(char *src) } declare 336 { - int Tcl_UtfToUniChar(const char *src, Tcl_UniChar *chPtr) + int Tcl_UtfToChar16(const char *src, unsigned short *chPtr) } declare 337 { int Tcl_UtfToUpper(char *src) @@ -1253,11 +1253,11 @@ declare 353 { unsigned long numChars) } declare 354 { - char *Tcl_UniCharToUtfDString(const Tcl_UniChar *uniStr, + char *Tcl_Char16ToUtfDString(const unsigned short *uniStr, int uniLength, Tcl_DString *dsPtr) } declare 355 { - Tcl_UniChar *Tcl_UtfToUniCharDString(const char *src, + unsigned short *Tcl_UtfToChar16DString(const char *src, int length, Tcl_DString *dsPtr) } declare 356 { @@ -2390,6 +2390,19 @@ declare 645 { int endValue, int *indexPtr) } +# TIP #548 +declare 646 { + int Tcl_UtfToUniChar(const char *src, int *chPtr) +} +declare 647 { + char *Tcl_UniCharToUtfDString(const int *uniStr, + int uniLength, Tcl_DString *dsPtr) +} +declare 648 { + int *Tcl_UtfToUniCharDString(const char *src, + int length, Tcl_DString *dsPtr) +} + # ----- BASELINE -- FOR -- 8.7.0 ----- # ############################################################################## |