summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-06-16 16:06:06 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-06-16 16:06:06 (GMT)
commit99ff9aa94ea6608626a0ac44f72baafa85774625 (patch)
treecccc139c306d2f3472b10fcf9dc4d44adb2f2b1a /generic
parent828499cee4c403810bcd60ffff11e6337d83a5b7 (diff)
downloadtk-99ff9aa94ea6608626a0ac44f72baafa85774625.zip
tk-99ff9aa94ea6608626a0ac44f72baafa85774625.tar.gz
tk-99ff9aa94ea6608626a0ac44f72baafa85774625.tar.bz2
improving backwards compatibility
Diffstat (limited to 'generic')
-rw-r--r--generic/tk.decls7
-rw-r--r--generic/tkDecls.h10
-rw-r--r--generic/tkStubInit.c5
3 files changed, 22 insertions, 0 deletions
diff --git a/generic/tk.decls b/generic/tk.decls
index 9ceb3af..11b4f87 100644
--- a/generic/tk.decls
+++ b/generic/tk.decls
@@ -1069,6 +1069,13 @@ declare 273 {
void Tk_CreateOldPhotoImageFormat(const Tk_PhotoImageFormat *formatPtr)
}
+declare 274 {
+ void reserved274(void)
+}
+declare 275 {
+ void reserved275(void)
+}
+
# Define the platform specific public Tk interface. These functions are
# only available on the designated platform.
diff --git a/generic/tkDecls.h b/generic/tkDecls.h
index 5edbffe..d080e93 100644
--- a/generic/tkDecls.h
+++ b/generic/tkDecls.h
@@ -860,6 +860,10 @@ EXTERN void Tk_CreateOldImageType(const Tk_ImageType *typePtr);
/* 273 */
EXTERN void Tk_CreateOldPhotoImageFormat(
const Tk_PhotoImageFormat *formatPtr);
+/* 274 */
+EXTERN void reserved274(void);
+/* 275 */
+EXTERN void reserved275(void);
typedef struct TkStubHooks {
const struct TkPlatStubs *tkPlatStubs;
@@ -1146,6 +1150,8 @@ typedef struct TkStubs {
Tcl_Interp * (*tk_Interp) (Tk_Window tkwin); /* 271 */
void (*tk_CreateOldImageType) (const Tk_ImageType *typePtr); /* 272 */
void (*tk_CreateOldPhotoImageFormat) (const Tk_PhotoImageFormat *formatPtr); /* 273 */
+ void (*reserved274) (void); /* 274 */
+ void (*reserved275) (void); /* 275 */
} TkStubs;
#ifdef __cplusplus
@@ -1708,6 +1714,10 @@ extern const TkStubs *tkStubsPtr;
(tkStubsPtr->tk_CreateOldImageType) /* 272 */
#define Tk_CreateOldPhotoImageFormat \
(tkStubsPtr->tk_CreateOldPhotoImageFormat) /* 273 */
+#define reserved274 \
+ (tkStubsPtr->reserved274) /* 274 */
+#define reserved275 \
+ (tkStubsPtr->reserved275) /* 275 */
#endif /* defined(USE_TK_STUBS) */
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c
index e5c0a3b..271243e 100644
--- a/generic/tkStubInit.c
+++ b/generic/tkStubInit.c
@@ -226,6 +226,9 @@ void TkSubtractRegion (TkRegion a, TkRegion b, TkRegion c)
# endif
#endif /* !__WIN32__ */
+#define reserved274 (void (*)(void)) Tk_DefineBitmap
+#define reserved275 (void (*)(void)) Tk_GetBitmapFromData
+
/*
* WARNING: The contents of this file is automatically generated by the
* tools/genStubs.tcl script. Any modifications to the function declarations
@@ -1103,6 +1106,8 @@ const TkStubs tkStubs = {
Tk_Interp, /* 271 */
Tk_CreateOldImageType, /* 272 */
Tk_CreateOldPhotoImageFormat, /* 273 */
+ reserved274, /* 274 */
+ reserved275, /* 275 */
};
/* !END!: Do not edit above this line. */