Author: Jan Nijtmans <[email protected]> State: Draft Type: Project Vote: In progress Created: 21-09-2022 Tcl-Version: 9.0 Keywords: Tcl Tcl-Branch: tip-640
Tcl_SaveResult/Tcl_RestoreResult/Tcl_DiscardResult functions are able to
save and restore the current interpreter result. This is not adequate in
the error-situation, that's why a new set of functions was developed
TIP #226 doing a better job.
Tcl_SaveResult/Tcl_RestoreResult/Tcl_DiscardResult are deprecated
already a long time, it's time to remove them in Tcl 9.0.
All extensions will need to be rewritten to use
Tcl_RestoreInterpState/Tcl_DiscardInterpState in stead of
Tcl_SaveResult/Tcl_RestoreResult/Tcl_DiscardResult. Since those
functions are already available since Tcl 8.5, that shouldn't
be a problem: All extensions should have been rewritten already
a long time ago.
This document has been placed in the public domain.