diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-03-28 15:22:05 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-03-28 15:22:05 (GMT) |
commit | 34916714c2a78b655ee536afe9b482c8161ae0e3 (patch) | |
tree | 5704942faccdc7d14eeb887a50a50447308baf57 /generic/tkDecls.h | |
parent | 4b0f79b2c917eb4a1271548449682388a1949f54 (diff) | |
download | tk-34916714c2a78b655ee536afe9b482c8161ae0e3.zip tk-34916714c2a78b655ee536afe9b482c8161ae0e3.tar.gz tk-34916714c2a78b655ee536afe9b482c8161ae0e3.tar.bz2 |
Remove dead code. During 8.6 alpha/beta, Tk_DefineBitmap/Tk_GetBitmapFromData moved to stub entry 274/275
due to a signature change, but later that turned out not be necessary at all. The stub entries were kept
in order not to lose binary compatibility for extensions that were compiled against beta 8.6 headers. Now that
Tk 8.6 is final, this makes no sense any more.
Diffstat (limited to 'generic/tkDecls.h')
-rw-r--r-- | generic/tkDecls.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/generic/tkDecls.h b/generic/tkDecls.h index 4de4c23..9f76a49 100644 --- a/generic/tkDecls.h +++ b/generic/tkDecls.h @@ -860,10 +860,6 @@ 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 { const struct TkPlatStubs *tkPlatStubs; @@ -1150,8 +1146,6 @@ 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 @@ -1714,10 +1708,6 @@ 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) */ |