summaryrefslogtreecommitdiffstats
path: root/generic/tcl.decls
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2019-12-30 21:29:09 (GMT)
committerdgp <dgp@users.sourceforge.net>2019-12-30 21:29:09 (GMT)
commitfd4b052c0d6d912177890c1990f506e959cdea5c (patch)
tree084324f857c1fc79e7be5b31ce7be5f48e54045e /generic/tcl.decls
parent8265ea67d6285031031eeee4037a3b9b35262a10 (diff)
parentf5a8aaadf8c1f3c677edfbdde0c7619089a37705 (diff)
downloadtcl-fd4b052c0d6d912177890c1990f506e959cdea5c.zip
tcl-fd4b052c0d6d912177890c1990f506e959cdea5c.tar.gz
tcl-fd4b052c0d6d912177890c1990f506e959cdea5c.tar.bz2
merge trunk
Diffstat (limited to 'generic/tcl.decls')
-rw-r--r--generic/tcl.decls50
1 files changed, 35 insertions, 15 deletions
diff --git a/generic/tcl.decls b/generic/tcl.decls
index 529db61..2c72914 100644
--- a/generic/tcl.decls
+++ b/generic/tcl.decls
@@ -134,10 +134,9 @@ declare 28 {
declare 29 {
Tcl_Obj *Tcl_DuplicateObj(Tcl_Obj *objPtr)
}
-# Removed in 9.0
-#declare 30 {
-# void TclFreeObj(Tcl_Obj *objPtr)
-#}
+declare 30 {
+ void TclFreeObj(Tcl_Obj *objPtr)
+}
declare 31 {
int Tcl_GetBoolean(Tcl_Interp *interp, const char *src, int *boolPtr)
}
@@ -1242,7 +1241,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)
@@ -1299,11 +1298,11 @@ declare 353 {
size_t numChars)
}
declare 354 {
- char *Tcl_UniCharToUtfDString(const Tcl_UniChar *uniStr,
+ char *Tcl_Char16ToUtfDString(const unsigned short *uniStr,
size_t uniLength, Tcl_DString *dsPtr)
}
declare 355 {
- Tcl_UniChar *Tcl_UtfToUniCharDString(const char *src,
+ unsigned short *Tcl_UtfToChar16DString(const char *src,
size_t length, Tcl_DString *dsPtr)
}
declare 356 {
@@ -2436,7 +2435,25 @@ declare 643 {
# TIP#312 New Tcl_LinkArray() function
declare 644 {
int Tcl_LinkArray(Tcl_Interp *interp, const char *varName, void *addr,
- int type, int size)
+ int type, size_t size)
+}
+
+declare 645 {
+ int Tcl_GetIntForIndex(Tcl_Interp *interp, Tcl_Obj *objPtr,
+ size_t endValue, size_t *indexPtr)
+}
+
+# TIP #548
+declare 646 {
+ int Tcl_UtfToUniChar(const char *src, int *chPtr)
+}
+declare 647 {
+ char *Tcl_UniCharToUtfDString(const int *uniStr,
+ size_t uniLength, Tcl_DString *dsPtr)
+}
+declare 648 {
+ int *Tcl_UtfToUniCharDString(const char *src,
+ size_t length, Tcl_DString *dsPtr)
}
# ----- BASELINE -- FOR -- 8.7.0 ----- #
@@ -2455,14 +2472,14 @@ interface tclPlat
################################
# Windows specific functions
-# Added in Tcl 8.1
+# Added in Tcl 8.1, Removed in Tcl 9.0 (converted to macro)
-declare 0 win {
- TCHAR *Tcl_WinUtfToTChar(const char *str, size_t len, Tcl_DString *dsPtr)
-}
-declare 1 win {
- char *Tcl_WinTCharToUtf(const TCHAR *str, size_t len, Tcl_DString *dsPtr)
-}
+#declare 0 win {
+# TCHAR *Tcl_WinUtfToTChar(const char *str, size_t len, Tcl_DString *dsPtr)
+#}
+#declare 1 win {
+# char *Tcl_WinTCharToUtf(const TCHAR *str, size_t len, Tcl_DString *dsPtr)
+#}
################################
# Mac OS X specific functions
@@ -2514,6 +2531,9 @@ export {
export {
void Tcl_GetMemoryInfo(Tcl_DString *dsPtr)
}
+export {
+ void Tcl_InitSubsystems(void)
+}
# Local Variables:
# mode: tcl