funny definition in tclOODecls.h
Closed / Fixed1847318fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-12-09 15:30:14
in tclOODecls.h the following lines make no real sense to me:
#if defined(USE_TCL_OO_STUBS)
extern const char *TclOOInitializeStubs(
Tcl_Interp *, const char *version, int epoch, int revision);
#define Tcl_OOInitStubs(interp) TclOOInitializeStubs( \
interp, TILE_VERSION, TTK_STUBS_EPOCH, TTK_STUBS_REVISION)
#else
#define Tcl_OOInitStubs(interp) Tcl_PkgRequire(interp,"tile",TILE_VERSION)
#endif
1) there is no define USE_TCL_OO_STUBS, but only USE_TCLOO_STUBS
2) TclOOInitializeStubs is called with parameters TILE_VERSION, TTK_STUBS_EPOCH, TTK_STUBS_REVISION, which does not make sense for me, as the package is TclOO
3) Tcl_PkgRequire is called with parameters "tile",TILE_VERSION, same reason as for 2)
dkf Closed ticket [1847318fff].
[History diff]2007-12-30 22:01:48
Log in (anonymous is fine) to add a comment.