summaryrefslogtreecommitdiffstats
path: root/generic/tclResult.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-03-17 10:57:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-03-17 10:57:24 (GMT)
commit5dbf2681d7206b079a706e9db96e4cf3f43edb25 (patch)
tree30692de3b7cd3e9f047d1c37c3b09c97b14b73db /generic/tclResult.c
parent709c26db6735431a77f3509d28a5c6c6309709bd (diff)
downloadtcl-5dbf2681d7206b079a706e9db96e4cf3f43edb25.zip
tcl-5dbf2681d7206b079a706e9db96e4cf3f43edb25.tar.gz
tcl-5dbf2681d7206b079a706e9db96e4cf3f43edb25.tar.bz2
If Tcl is compiled with -DTCL_NO_DEPRECATED, make sure that iPtr->(resultSpace|appendResult|appendAvl|appendUsed) are not used any more.
Diffstat (limited to 'generic/tclResult.c')
-rw-r--r--generic/tclResult.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclResult.c b/generic/tclResult.c
index ddf764b..57a6de5 100644
--- a/generic/tclResult.c
+++ b/generic/tclResult.c
@@ -232,6 +232,7 @@ Tcl_DiscardInterpState(
*----------------------------------------------------------------------
*/
+#ifndef TCL_NO_DEPRECATED
#undef Tcl_SaveResult
void
Tcl_SaveResult(
@@ -409,7 +410,6 @@ Tcl_DiscardResult(
*----------------------------------------------------------------------
*/
-#ifndef TCL_NO_DEPRECATED
void
Tcl_SetResult(
Tcl_Interp *interp, /* Interpreter with which to associate the