summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-04 10:36:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-04 10:36:23 (GMT)
commit6ba040df8117ecfc0acf0c8e59fcc3c6c7fa9b81 (patch)
tree5c7bef44b2290e1d0d1a6946ee8efb87652d957c
parent355f2996721459b367ceb121ac72a682a9a9f3e4 (diff)
parentca334b9492d174b6c1282acbc8282921d3b1f789 (diff)
downloadtcl-6ba040df8117ecfc0acf0c8e59fcc3c6c7fa9b81.zip
tcl-6ba040df8117ecfc0acf0c8e59fcc3c6c7fa9b81.tar.gz
tcl-6ba040df8117ecfc0acf0c8e59fcc3c6c7fa9b81.tar.bz2
Merge 8.6
-rw-r--r--generic/tcl.decls3
-rw-r--r--generic/tclDecls.h12
-rw-r--r--generic/tclInt.decls1
-rw-r--r--generic/tclIntDecls.h1
-rw-r--r--generic/tclStubInit.c3
-rw-r--r--generic/tclTomMath.decls1
-rw-r--r--tools/genStubs.tcl2
7 files changed, 21 insertions, 2 deletions
diff --git a/generic/tcl.decls b/generic/tcl.decls
index 5625fe9..51ece1a 100644
--- a/generic/tcl.decls
+++ b/generic/tcl.decls
@@ -2412,6 +2412,9 @@ declare 652 {
declare 653 {
unsigned char *TclGetByteArrayFromObj(Tcl_Obj *objPtr, size_t *lengthPtr)
}
+declare 656 {
+ void TclUnusedStubEntry(void)
+}
# ----- BASELINE -- FOR -- 8.7.0 ----- #
diff --git a/generic/tclDecls.h b/generic/tclDecls.h
index dc39657..4b91817 100644
--- a/generic/tclDecls.h
+++ b/generic/tclDecls.h
@@ -1931,6 +1931,10 @@ EXTERN Tcl_UniChar * TclGetUnicodeFromObj(Tcl_Obj *objPtr,
/* 653 */
EXTERN unsigned char * TclGetByteArrayFromObj(Tcl_Obj *objPtr,
size_t *lengthPtr);
+/* Slot 654 is reserved */
+/* Slot 655 is reserved */
+/* 656 */
+EXTERN void TclUnusedStubEntry(void);
typedef struct {
const struct TclPlatStubs *tclPlatStubs;
@@ -2620,6 +2624,9 @@ typedef struct TclStubs {
char * (*tclGetStringFromObj) (Tcl_Obj *objPtr, size_t *lengthPtr); /* 651 */
Tcl_UniChar * (*tclGetUnicodeFromObj) (Tcl_Obj *objPtr, size_t *lengthPtr); /* 652 */
unsigned char * (*tclGetByteArrayFromObj) (Tcl_Obj *objPtr, size_t *lengthPtr); /* 653 */
+ void (*reserved654)(void);
+ void (*reserved655)(void);
+ void (*tclUnusedStubEntry) (void); /* 656 */
} TclStubs;
extern const TclStubs *tclStubsPtr;
@@ -3956,11 +3963,16 @@ extern const TclStubs *tclStubsPtr;
(tclStubsPtr->tclGetUnicodeFromObj) /* 652 */
#define TclGetByteArrayFromObj \
(tclStubsPtr->tclGetByteArrayFromObj) /* 653 */
+/* Slot 654 is reserved */
+/* Slot 655 is reserved */
+#define TclUnusedStubEntry \
+ (tclStubsPtr->tclUnusedStubEntry) /* 656 */
#endif /* defined(USE_TCL_STUBS) */
/* !END!: Do not edit above this line. */
+#undef TclUnusedStubEntry
#if defined(USE_TCL_STUBS)
# undef Tcl_CreateInterp
# undef Tcl_FindExecutable
diff --git a/generic/tclInt.decls b/generic/tclInt.decls
index a4ed641..443f959 100644
--- a/generic/tclInt.decls
+++ b/generic/tclInt.decls
@@ -17,6 +17,7 @@ library tcl
# Define the unsupported generic interfaces.
interface tclInt
+scspec EXTERN
# Declare each of the functions in the unsupported internal Tcl
# interface. These interfaces are allowed to changed between versions.
diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h
index 1e7e26d..b5b8e2c 100644
--- a/generic/tclIntDecls.h
+++ b/generic/tclIntDecls.h
@@ -1414,6 +1414,7 @@ extern const TclIntStubs *tclIntStubsPtr;
#endif
#undef TclGuessPackageName
+#undef TclUnusedStubEntry
#ifndef TCL_NO_DEPRECATED
# define TclGuessPackageName(fileName, pkgName) ((void)fileName,(void)pkgName,0)
#endif
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index 50c99ad..fa5562d 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -1903,6 +1903,9 @@ const TclStubs tclStubs = {
TclGetStringFromObj, /* 651 */
TclGetUnicodeFromObj, /* 652 */
TclGetByteArrayFromObj, /* 653 */
+ 0, /* 654 */
+ 0, /* 655 */
+ TclUnusedStubEntry, /* 656 */
};
/* !END!: Do not edit above this line. */
diff --git a/generic/tclTomMath.decls b/generic/tclTomMath.decls
index 847717a..3a3b9a8 100644
--- a/generic/tclTomMath.decls
+++ b/generic/tclTomMath.decls
@@ -17,7 +17,6 @@ library tcl
# Define the unsupported generic interfaces.
interface tclTomMath
-# hooks {tclTomMathInt}
scspec EXTERN
# Declare each of the functions in the Tcl tommath interface
diff --git a/tools/genStubs.tcl b/tools/genStubs.tcl
index 47b8ad4..4f4acbb 100644
--- a/tools/genStubs.tcl
+++ b/tools/genStubs.tcl
@@ -1214,7 +1214,7 @@ proc genStubs::init {} {
# Results:
# Returns any values that were not assigned to variables.
-if {[string length [namespace which lassign]] == 0} {
+if {[namespace which lassign] ne ""} {
proc lassign {valueList args} {
if {[llength $args] == 0} {
error "wrong # args: should be \"lassign list varName ?varName ...?\""