diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-06-16 16:06:06 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-06-16 16:06:06 (GMT) |
commit | aff0164acc43252a3c1504e54d25a0b3eca3fea0 (patch) | |
tree | 33c407e23660f8739d0a578139e516c02f4c884b | |
parent | bda2b464633c240354dbf5312e51c68f8abeee53 (diff) | |
download | tk-aff0164acc43252a3c1504e54d25a0b3eca3fea0.zip tk-aff0164acc43252a3c1504e54d25a0b3eca3fea0.tar.gz tk-aff0164acc43252a3c1504e54d25a0b3eca3fea0.tar.bz2 |
improving backwards compatibility
-rw-r--r-- | generic/tk.decls | 7 | ||||
-rw-r--r-- | generic/tkDecls.h | 10 | ||||
-rw-r--r-- | generic/tkStubInit.c | 5 |
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. */ |