diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-02-15 16:04:48 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-02-15 16:04:48 (GMT) |
commit | 3555827afa0cdedcc64a6bcd1cbdf9c2876deac0 (patch) | |
tree | 8b0394365ab38bc8b75d570eb08053e9bf0d7a82 /generic/tkStubInit.c | |
parent | 18d01177025f5569208bde327546155537cf1245 (diff) | |
parent | d0ab2bd83ddf58e52fc7f6043e701f62d539797e (diff) | |
download | tk-3555827afa0cdedcc64a6bcd1cbdf9c2876deac0.zip tk-3555827afa0cdedcc64a6bcd1cbdf9c2876deac0.tar.gz tk-3555827afa0cdedcc64a6bcd1cbdf9c2876deac0.tar.bz2 |
Extend the public and private stub tables with dummy NULL entries, up to the size of the Tk 8.6 stub tables. This makes it easier to debug Tk extensions which use Tk 8.6 features but (erroneously) are attempted to be loaded in wish8.5
Diffstat (limited to 'generic/tkStubInit.c')
-rw-r--r-- | generic/tkStubInit.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c index c2ef290..79edc4d 100644 --- a/generic/tkStubInit.c +++ b/generic/tkStubInit.c @@ -30,6 +30,8 @@ #include "tkPlatDecls.h" #include "tkIntXlibDecls.h" +#define TkUnusedStubEntry NULL + #ifdef __WIN32__ static int @@ -476,6 +478,10 @@ TkIntStubs tkIntStubs = { TkOrientPrintProc, /* 178 */ TkSmoothParseProc, /* 179 */ TkSmoothPrintProc, /* 180 */ + NULL, /* 181 */ + NULL, /* 182 */ + NULL, /* 183 */ + TkUnusedStubEntry, /* 184 */ }; TkIntPlatStubs tkIntPlatStubs = { @@ -1130,6 +1136,8 @@ TkStubs tkStubs = { Tk_Interp, /* 271 */ Tk_CreateOldImageType, /* 272 */ Tk_CreateOldPhotoImageFormat, /* 273 */ + NULL, /* 274 */ + TkUnusedStubEntry, /* 275 */ }; /* !END!: Do not edit above this line. */ |