summaryrefslogtreecommitdiffstats
path: root/generic/tcl.decls
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-02-23 13:19:45 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-02-23 13:19:45 (GMT)
commitda915fdadfa41477f967f92d37c63e278621acd7 (patch)
tree637659335b62706f682f89630be194fda3b845a7 /generic/tcl.decls
parente469cdf1901f3bbd96dd0dc2f72cf443a1fe4833 (diff)
downloadtcl-da915fdadfa41477f967f92d37c63e278621acd7.zip
tcl-da915fdadfa41477f967f92d37c63e278621acd7.tar.gz
tcl-da915fdadfa41477f967f92d37c63e278621acd7.tar.bz2
New signature for Tcl_ExternalToUtfDStringEx and Tcl_UtfToExternalDStringEx as per TIP 656
Diffstat (limited to 'generic/tcl.decls')
-rw-r--r--generic/tcl.decls14
1 files changed, 9 insertions, 5 deletions
diff --git a/generic/tcl.decls b/generic/tcl.decls
index a48ab02..a789ef6 100644
--- a/generic/tcl.decls
+++ b/generic/tcl.decls
@@ -2441,13 +2441,17 @@ declare 656 {
declare 657 {
int Tcl_UniCharIsUnicode(int ch)
}
+
+# TIP 656
declare 658 {
- Tcl_Size Tcl_ExternalToUtfDStringEx(Tcl_Encoding encoding,
- const char *src, Tcl_Size srcLen, int flags, Tcl_DString *dsPtr)
-}
+ int Tcl_ExternalToUtfDStringEx(Tcl_Interp *interp, Tcl_Encoding encoding,
+ const char *src, int srcLen, int flags, Tcl_DString *dsPtr,
+ Tcl_Size *errorLocationPtr)
+}
declare 659 {
- Tcl_Size Tcl_UtfToExternalDStringEx(Tcl_Encoding encoding,
- const char *src, Tcl_Size srcLen, int flags, Tcl_DString *dsPtr)
+ int Tcl_UtfToExternalDStringEx(Tcl_Interp *interp, Tcl_Encoding encoding,
+ const char *src, int srcLen, int flags, Tcl_DString *dsPtr,
+ Tcl_Size *errorLocationPtr)
}
# TIP #511