summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclOO.decls3
-rw-r--r--generic/tclOODecls.h8
-rw-r--r--generic/tclOOStubInit.c4
-rw-r--r--generic/tclStubInit.c2
4 files changed, 16 insertions, 1 deletions
diff --git a/generic/tclOO.decls b/generic/tclOO.decls
index 4602460..8011292 100644
--- a/generic/tclOO.decls
+++ b/generic/tclOO.decls
@@ -129,6 +129,9 @@ declare 28 {
declare 29 {
int Tcl_MethodIsPrivate(Tcl_Method method)
}
+declare 31 {
+ void TclUnusedStubEntry(void)
+}
######################################################################
# Private API, exposed to support advanced OO systems that plug in on top of
diff --git a/generic/tclOODecls.h b/generic/tclOODecls.h
index 928d07e..60ecd6c 100644
--- a/generic/tclOODecls.h
+++ b/generic/tclOODecls.h
@@ -118,6 +118,9 @@ TCLAPI Tcl_Obj * Tcl_GetObjectName(Tcl_Interp *interp,
Tcl_Object object);
/* 29 */
TCLAPI int Tcl_MethodIsPrivate(Tcl_Method method);
+/* Slot 30 is reserved */
+/* 31 */
+TCLAPI void TclUnusedStubEntry(void);
typedef struct {
const struct TclOOIntStubs *tclOOIntStubs;
@@ -157,6 +160,8 @@ typedef struct TclOOStubs {
void (*tcl_ClassSetDestructor) (Tcl_Interp *interp, Tcl_Class clazz, Tcl_Method method); /* 27 */
Tcl_Obj * (*tcl_GetObjectName) (Tcl_Interp *interp, Tcl_Object object); /* 28 */
int (*tcl_MethodIsPrivate) (Tcl_Method method); /* 29 */
+ void (*reserved30)(void);
+ void (*tclUnusedStubEntry) (void); /* 31 */
} TclOOStubs;
extern const TclOOStubs *tclOOStubsPtr;
@@ -231,6 +236,9 @@ extern const TclOOStubs *tclOOStubsPtr;
(tclOOStubsPtr->tcl_GetObjectName) /* 28 */
#define Tcl_MethodIsPrivate \
(tclOOStubsPtr->tcl_MethodIsPrivate) /* 29 */
+/* Slot 30 is reserved */
+#define TclUnusedStubEntry \
+ (tclOOStubsPtr->tclUnusedStubEntry) /* 31 */
#endif /* defined(USE_TCLOO_STUBS) */
diff --git a/generic/tclOOStubInit.c b/generic/tclOOStubInit.c
index 5e235f4..ee03291 100644
--- a/generic/tclOOStubInit.c
+++ b/generic/tclOOStubInit.c
@@ -14,6 +14,8 @@ MODULE_SCOPE const TclOOStubs tclOOStubs;
#pragma GCC dependency "tclOO.decls"
#endif
+#define TclUnusedStubEntry 0
+
/* !BEGIN!: Do not edit below this line. */
static const TclOOIntStubs tclOOIntStubs = {
@@ -74,6 +76,8 @@ const TclOOStubs tclOOStubs = {
Tcl_ClassSetDestructor, /* 27 */
Tcl_GetObjectName, /* 28 */
Tcl_MethodIsPrivate, /* 29 */
+ 0, /* 30 */
+ TclUnusedStubEntry, /* 31 */
};
/* !END!: Do not edit above this line. */
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index 66cf7b2..137aea0 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -186,7 +186,7 @@ static const char *TclUtfPrev(const char *src, const char *start) {
#define TclBN_s_mp_sub s_mp_sub
#define TclBN_mp_toom_mul s_mp_toom_mul
#define TclBN_mp_toom_sqr s_mp_toom_sqr
-#define TclUnusedStubEntry NULL
+#define TclUnusedStubEntry 0
/* See bug 510001: TclSockMinimumBuffers needs plat imp */
#if defined(_WIN64) || defined(TCL_NO_DEPRECATED) || TCL_MAJOR_VERSION > 8