Implementation for TIP #340
After applying this patch, the stub tables and the configure script
must be re-generated (make genstubs, autoconf), because the
changes to tclDecls.h, unix/configure, win/configure (how
about the Mac) are not part of this patch.
TIP #340 implementation
Here is the new patch 340a.patch, which
matches the TIP #340 revision.
File Added: 340a.patch
revised TIP #340 implementation
revised TIP #340 implementation (with improved TCL_NO_DEPRECATED Tcl_SetResult macro)
File Added: 340b.patch
Patch 340b is the same as 340a, except that the
TCL_NO_DEPRECATED section provides an improved
Tcl_SetResult macro. This macro replaces all
Tcl_SetResult calls in extensions with the
recommended replacements, even when the value
of freeProc is not TCL_STATIC or TCL_VOLATILE.
I'm still not sure whether we should provide
such macro, but with this improvement I am more
inclined to answer YES to that.
Abandoning TIP #340, not necessary any more.