summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2013-01-16 08:52:59 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2013-01-16 08:52:59 (GMT)
commit17a59b88cd2393c078b84bf0188c192bd907fc83 (patch)
treed1af02745df25b2849bf6ed938afa30e63b3f97c /generic/tcl.h
parente3a1427e5273b5733c0bdd5a07802d9decab1d16 (diff)
downloadtcl-17a59b88cd2393c078b84bf0188c192bd907fc83.zip
tcl-17a59b88cd2393c078b84bf0188c192bd907fc83.tar.gz
tcl-17a59b88cd2393c078b84bf0188c192bd907fc83.tar.bz2
Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by default.
Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too (this is not what TCL_NO_DEPRECATED is supposed to do). FossilOrigin-Name: cd2c57a4b602c7bc77de754094d9ad7b8482b8ef
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 9dd6ff0..5f47734 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -2278,17 +2278,6 @@ typedef unsigned short Tcl_UniChar;
/*
- * Deprecated Tcl procedures:
- */
-#ifndef TCL_NO_DEPRECATED
-# define Tcl_EvalObj(interp,objPtr) \
- Tcl_EvalObjEx((interp),(objPtr),0)
-# define Tcl_GlobalEvalObj(interp,objPtr) \
- Tcl_EvalObjEx((interp),(objPtr),TCL_EVAL_GLOBAL)
-#endif
-
-
-/*
* These function have been renamed. The old names are deprecated, but we
* define these macros for backwards compatibilty.
*/