summaryrefslogtreecommitdiffstats
path: root/generic/tclDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-04-04 07:07:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-04-04 07:07:28 (GMT)
commitb065abd46c378988ee2a6085430d79883cf3ed4b (patch)
tree246f77dbef6234338add5e62443a52074c10480c /generic/tclDecls.h
parentbce112e4250eecd1e75a2f77ec51ed51bf3f281d (diff)
parentb5b700cbbdb4907a99eb6d6360be8c2cc0a01624 (diff)
downloadtcl-b065abd46c378988ee2a6085430d79883cf3ed4b.zip
tcl-b065abd46c378988ee2a6085430d79883cf3ed4b.tar.gz
tcl-b065abd46c378988ee2a6085430d79883cf3ed4b.tar.bz2
Make Tcl_EvalObj/Tcl_GlobalEvalObj a macro always, not only when using stubs.
Diffstat (limited to 'generic/tclDecls.h')
-rw-r--r--generic/tclDecls.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/generic/tclDecls.h b/generic/tclDecls.h
index 04a735a..a1c0bf4 100644
--- a/generic/tclDecls.h
+++ b/generic/tclDecls.h
@@ -3812,13 +3812,11 @@ extern const TclStubs *tclStubsPtr;
/*
* Deprecated Tcl procedures:
*/
-#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS)
-# undef Tcl_EvalObj
-# define Tcl_EvalObj(interp,objPtr) \
- Tcl_EvalObjEx((interp),(objPtr),0)
-# undef Tcl_GlobalEvalObj
-# define Tcl_GlobalEvalObj(interp,objPtr) \
- Tcl_EvalObjEx((interp),(objPtr),TCL_EVAL_GLOBAL)
-#endif
+#undef Tcl_EvalObj
+#define Tcl_EvalObj(interp,objPtr) \
+ Tcl_EvalObjEx((interp),(objPtr),0)
+#undef Tcl_GlobalEvalObj
+#define Tcl_GlobalEvalObj(interp,objPtr) \
+ Tcl_EvalObjEx((interp),(objPtr),TCL_EVAL_GLOBAL)
#endif /* _TCLDECLS */