summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-04 15:24:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-04 15:24:45 (GMT)
commitdb1e3cef6dceeb3f732a1a5e5c12c084d47cdeb2 (patch)
tree58c159ece2306c72850ee4657b3e7d47629247b2 /generic
parent3e623d0d0d452dba964ee6e0550bfa6e589fad05 (diff)
parent1081ce3d811ca2df171d764f1611eb89d8a891b3 (diff)
downloadtcl-db1e3cef6dceeb3f732a1a5e5c12c084d47cdeb2.zip
tcl-db1e3cef6dceeb3f732a1a5e5c12c084d47cdeb2.tar.gz
tcl-db1e3cef6dceeb3f732a1a5e5c12c084d47cdeb2.tar.bz2
Merge 8.7
Diffstat (limited to 'generic')
-rw-r--r--generic/tclInt.decls28
-rw-r--r--generic/tclIntDecls.h55
-rw-r--r--generic/tclStubInit.c12
3 files changed, 50 insertions, 45 deletions
diff --git a/generic/tclInt.decls b/generic/tclInt.decls
index bc0285c..a79da4d 100644
--- a/generic/tclInt.decls
+++ b/generic/tclInt.decls
@@ -548,8 +548,22 @@ declare 217 {
declare 218 {
void TclPopStackFrame(Tcl_Interp *interp)
}
+# TIP 431: temporary directory creation function
+declare 219 {
+ Tcl_Obj *TclpCreateTemporaryDirectory(Tcl_Obj *dirObj,
+ Tcl_Obj *basenameObj)
+}
# for use in tclTest.c
+
+# TIP 625: for unit testing - create list objects with span
+declare 221 {
+ Tcl_Obj *TclListTestObj(size_t length, size_t leadingSpace, size_t endSpace)
+}
+# TIP 625: for unit testing - check list invariants
+declare 222 {
+ void TclListObjValidate(Tcl_Interp *interp, Tcl_Obj *listObj)
+}
declare 224 {
TclPlatformType *TclGetPlatform(void)
}
@@ -698,20 +712,8 @@ declare 257 {
Tcl_LibraryInitProc *initProc, Tcl_LibraryInitProc *safeInitProc)
}
-# TIP 431: temporary directory creation function
-declare 258 {
- Tcl_Obj *TclpCreateTemporaryDirectory(Tcl_Obj *dirObj,
- Tcl_Obj *basenameObj)
-}
-
-# TIP 625: for unit testing - create list objects with span
-declare 260 {
- Tcl_Obj *TclListTestObj(size_t length, size_t leadingSpace, size_t endSpace)
-}
-
-# TIP 625: for unit testing - check list invariants
declare 261 {
- void TclListObjValidate(Tcl_Interp *interp, Tcl_Obj *listObj)
+ void TclUnusedStubEntry(void)
}
##############################################################################
diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h
index 3dfb252..369830b 100644
--- a/generic/tclIntDecls.h
+++ b/generic/tclIntDecls.h
@@ -462,10 +462,16 @@ EXTERN int TclPushStackFrame(Tcl_Interp *interp,
int isProcCallFrame);
/* 218 */
EXTERN void TclPopStackFrame(Tcl_Interp *interp);
-/* Slot 219 is reserved */
+/* 219 */
+EXTERN Tcl_Obj * TclpCreateTemporaryDirectory(Tcl_Obj *dirObj,
+ Tcl_Obj *basenameObj);
/* Slot 220 is reserved */
-/* Slot 221 is reserved */
-/* Slot 222 is reserved */
+/* 221 */
+EXTERN Tcl_Obj * TclListTestObj(size_t length, size_t leadingSpace,
+ size_t endSpace);
+/* 222 */
+EXTERN void TclListObjValidate(Tcl_Interp *interp,
+ Tcl_Obj *listObj);
/* Slot 223 is reserved */
/* 224 */
EXTERN TclPlatformType * TclGetPlatform(void);
@@ -574,16 +580,11 @@ EXTERN void TclStaticLibrary(Tcl_Interp *interp,
const char *prefix,
Tcl_LibraryInitProc *initProc,
Tcl_LibraryInitProc *safeInitProc);
-/* 258 */
-EXTERN Tcl_Obj * TclpCreateTemporaryDirectory(Tcl_Obj *dirObj,
- Tcl_Obj *basenameObj);
+/* Slot 258 is reserved */
/* Slot 259 is reserved */
-/* 260 */
-EXTERN Tcl_Obj * TclListTestObj(size_t length, size_t leadingSpace,
- size_t endSpace);
+/* Slot 260 is reserved */
/* 261 */
-EXTERN void TclListObjValidate(Tcl_Interp *interp,
- Tcl_Obj *listObj);
+EXTERN void TclUnusedStubEntry(void);
typedef struct TclIntStubs {
int magic;
@@ -808,10 +809,10 @@ typedef struct TclIntStubs {
void (*tclStackFree) (Tcl_Interp *interp, void *freePtr); /* 216 */
int (*tclPushStackFrame) (Tcl_Interp *interp, Tcl_CallFrame **framePtrPtr, Tcl_Namespace *namespacePtr, int isProcCallFrame); /* 217 */
void (*tclPopStackFrame) (Tcl_Interp *interp); /* 218 */
- void (*reserved219)(void);
+ Tcl_Obj * (*tclpCreateTemporaryDirectory) (Tcl_Obj *dirObj, Tcl_Obj *basenameObj); /* 219 */
void (*reserved220)(void);
- void (*reserved221)(void);
- void (*reserved222)(void);
+ Tcl_Obj * (*tclListTestObj) (size_t length, size_t leadingSpace, size_t endSpace); /* 221 */
+ void (*tclListObjValidate) (Tcl_Interp *interp, Tcl_Obj *listObj); /* 222 */
void (*reserved223)(void);
TclPlatformType * (*tclGetPlatform) (void); /* 224 */
Tcl_Obj * (*tclTraceDictPath) (Tcl_Interp *interp, Tcl_Obj *rootPtr, Tcl_Size keyc, Tcl_Obj *const keyv[], int flags); /* 225 */
@@ -847,10 +848,10 @@ typedef struct TclIntStubs {
int (*tclPtrObjMakeUpvar) (Tcl_Interp *interp, Tcl_Var otherPtr, Tcl_Obj *myNamePtr, int myFlags); /* 255 */
int (*tclPtrUnsetVar) (Tcl_Interp *interp, Tcl_Var varPtr, Tcl_Var arrayPtr, Tcl_Obj *part1Ptr, Tcl_Obj *part2Ptr, int flags); /* 256 */
void (*tclStaticLibrary) (Tcl_Interp *interp, const char *prefix, Tcl_LibraryInitProc *initProc, Tcl_LibraryInitProc *safeInitProc); /* 257 */
- Tcl_Obj * (*tclpCreateTemporaryDirectory) (Tcl_Obj *dirObj, Tcl_Obj *basenameObj); /* 258 */
+ void (*reserved258)(void);
void (*reserved259)(void);
- Tcl_Obj * (*tclListTestObj) (size_t length, size_t leadingSpace, size_t endSpace); /* 260 */
- void (*tclListObjValidate) (Tcl_Interp *interp, Tcl_Obj *listObj); /* 261 */
+ void (*reserved260)(void);
+ void (*tclUnusedStubEntry) (void); /* 261 */
} TclIntStubs;
extern const TclIntStubs *tclIntStubsPtr;
@@ -1192,10 +1193,13 @@ extern const TclIntStubs *tclIntStubsPtr;
(tclIntStubsPtr->tclPushStackFrame) /* 217 */
#define TclPopStackFrame \
(tclIntStubsPtr->tclPopStackFrame) /* 218 */
-/* Slot 219 is reserved */
+#define TclpCreateTemporaryDirectory \
+ (tclIntStubsPtr->tclpCreateTemporaryDirectory) /* 219 */
/* Slot 220 is reserved */
-/* Slot 221 is reserved */
-/* Slot 222 is reserved */
+#define TclListTestObj \
+ (tclIntStubsPtr->tclListTestObj) /* 221 */
+#define TclListObjValidate \
+ (tclIntStubsPtr->tclListObjValidate) /* 222 */
/* Slot 223 is reserved */
#define TclGetPlatform \
(tclIntStubsPtr->tclGetPlatform) /* 224 */
@@ -1263,13 +1267,11 @@ extern const TclIntStubs *tclIntStubsPtr;
(tclIntStubsPtr->tclPtrUnsetVar) /* 256 */
#define TclStaticLibrary \
(tclIntStubsPtr->tclStaticLibrary) /* 257 */
-#define TclpCreateTemporaryDirectory \
- (tclIntStubsPtr->tclpCreateTemporaryDirectory) /* 258 */
+/* Slot 258 is reserved */
/* Slot 259 is reserved */
-#define TclListTestObj \
- (tclIntStubsPtr->tclListTestObj) /* 260 */
-#define TclListObjValidate \
- (tclIntStubsPtr->tclListObjValidate) /* 261 */
+/* Slot 260 is reserved */
+#define TclUnusedStubEntry \
+ (tclIntStubsPtr->tclUnusedStubEntry) /* 261 */
#endif /* defined(USE_TCL_STUBS) */
@@ -1290,6 +1292,7 @@ extern const TclIntStubs *tclIntStubsPtr;
((unsigned long)tclIntStubsPtr->tclpGetSeconds())
#endif
+#undef TclUnusedStubEntry
#undef TclObjInterpProc
#define TclObjInterpProc TclGetObjInterpProc()
#define TclObjInterpProc2 TclGetObjInterpProc2()
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index 83133f9..ec15568 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -624,10 +624,10 @@ static const TclIntStubs tclIntStubs = {
TclStackFree, /* 216 */
TclPushStackFrame, /* 217 */
TclPopStackFrame, /* 218 */
- 0, /* 219 */
+ TclpCreateTemporaryDirectory, /* 219 */
0, /* 220 */
- 0, /* 221 */
- 0, /* 222 */
+ TclListTestObj, /* 221 */
+ TclListObjValidate, /* 222 */
0, /* 223 */
TclGetPlatform, /* 224 */
TclTraceDictPath, /* 225 */
@@ -663,10 +663,10 @@ static const TclIntStubs tclIntStubs = {
TclPtrObjMakeUpvar, /* 255 */
TclPtrUnsetVar, /* 256 */
TclStaticLibrary, /* 257 */
- TclpCreateTemporaryDirectory, /* 258 */
+ 0, /* 258 */
0, /* 259 */
- TclListTestObj, /* 260 */
- TclListObjValidate, /* 261 */
+ 0, /* 260 */
+ TclUnusedStubEntry, /* 261 */
};
static const TclIntPlatStubs tclIntPlatStubs = {