summaryrefslogtreecommitdiffstats
path: root/generic/tkPlatDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-08 11:02:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-08 11:02:00 (GMT)
commit2c80218636b778e62c7c0707c891553b83a79a26 (patch)
tree50cad0b3dcb10641fde14caaf2993123a9dc5991 /generic/tkPlatDecls.h
parentd3271e2d220f2768f99b11887816cacb6223c784 (diff)
downloadtk-2c80218636b778e62c7c0707c891553b83a79a26.zip
tk-2c80218636b778e62c7c0707c891553b83a79a26.tar.gz
tk-2c80218636b778e62c7c0707c891553b83a79a26.tar.bz2
Move up TkUnusedStubEntry a little.
New test function "menubarheight" for MacOSX (backported from 8.6)
Diffstat (limited to 'generic/tkPlatDecls.h')
-rw-r--r--generic/tkPlatDecls.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/generic/tkPlatDecls.h b/generic/tkPlatDecls.h
index eb3d74d..9112f58 100644
--- a/generic/tkPlatDecls.h
+++ b/generic/tkPlatDecls.h
@@ -129,6 +129,16 @@ EXTERN void Tk_MacOSXSetupTkNotifier(void);
/* 10 */
EXTERN int Tk_MacOSXIsAppInFront(void);
#endif
+/* Slot 11 is reserved */
+/* Slot 12 is reserved */
+/* Slot 13 is reserved */
+/* Slot 14 is reserved */
+/* Slot 15 is reserved */
+#ifndef TkUnusedStubEntry_TCL_DECLARED
+#define TkUnusedStubEntry_TCL_DECLARED
+/* 16 */
+EXTERN void TkUnusedStubEntry(void);
+#endif
#endif /* AQUA */
typedef struct TkPlatStubs {
@@ -155,6 +165,12 @@ typedef struct TkPlatStubs {
VOID * (*tkMacOSXGetRootControl) (Drawable drawable); /* 8 */
void (*tk_MacOSXSetupTkNotifier) (void); /* 9 */
int (*tk_MacOSXIsAppInFront) (void); /* 10 */
+ VOID *reserved11;
+ VOID *reserved12;
+ VOID *reserved13;
+ VOID *reserved14;
+ VOID *reserved15;
+ void (*tkUnusedStubEntry) (void); /* 16 */
#endif /* AQUA */
} TkPlatStubs;
@@ -241,6 +257,15 @@ extern TkPlatStubs *tkPlatStubsPtr;
#define Tk_MacOSXIsAppInFront \
(tkPlatStubsPtr->tk_MacOSXIsAppInFront) /* 10 */
#endif
+/* Slot 11 is reserved */
+/* Slot 12 is reserved */
+/* Slot 13 is reserved */
+/* Slot 14 is reserved */
+/* Slot 15 is reserved */
+#ifndef TkUnusedStubEntry
+#define TkUnusedStubEntry \
+ (tkPlatStubsPtr->tkUnusedStubEntry) /* 16 */
+#endif
#endif /* AQUA */
#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */