summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-19 13:21:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-19 13:21:53 (GMT)
commit9279b3aad8ae6175e5238ffd10a05652a2f56c93 (patch)
tree955c6b8b15d8417069cb3dee3fec6de247795f4e /generic/tcl.h
parent9d856256a392f919a13d4dc2171dcbdf4c39e31c (diff)
parent3eafe75fbc925da366e32a959d479a254ebfc02a (diff)
downloadtcl-9279b3aad8ae6175e5238ffd10a05652a2f56c93.zip
tcl-9279b3aad8ae6175e5238ffd10a05652a2f56c93.tar.gz
tcl-9279b3aad8ae6175e5238ffd10a05652a2f56c93.tar.bz2
Merge trunk.
Tranform Tcl_SaveResult/Tcl_RestoreResult/Tcl_DiscardResult to macros, and remove them from the stub table
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index a46699d..6f597bd 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -690,14 +690,11 @@ int Tcl_IsShared(Tcl_Obj *objPtr);
/*
*----------------------------------------------------------------------------
- * The following structure contains the state needed by Tcl_SaveResult. No-one
- * outside of Tcl should access any of these fields. This structure is
- * typically allocated on the stack.
+ * The following type contains the state needed by Tcl_SaveResult. This
+ * structure is typically allocated on the stack.
*/
-typedef struct Tcl_SavedResult {
- Tcl_Obj *objResultPtr;
-} Tcl_SavedResult;
+typedef Tcl_Obj *Tcl_SavedResult;
/*
*----------------------------------------------------------------------------