diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-16 16:06:06 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-16 16:06:06 (GMT) |
commit | ddd5fe8daea297d73f78c70cb5bfb6c151d4b627 (patch) | |
tree | 33c407e23660f8739d0a578139e516c02f4c884b /generic | |
parent | 28e835d284adc55deae30362d6885d34f357eace (diff) | |
download | tk-ddd5fe8daea297d73f78c70cb5bfb6c151d4b627.zip tk-ddd5fe8daea297d73f78c70cb5bfb6c151d4b627.tar.gz tk-ddd5fe8daea297d73f78c70cb5bfb6c151d4b627.tar.bz2 |
improving backwards compatibilityrfe_2636558
Diffstat (limited to 'generic')
-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. */ |