diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-17 22:28:38 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-17 22:28:38 (GMT) |
commit | 729687600b66c16b05f8b800209bf0252c285bac (patch) | |
tree | 6046e84e87a076d9ed6ca1edf226832ffa7bd073 /unix | |
parent | 5183004618b076623516cc260ae3e9e283252186 (diff) | |
download | tcl-729687600b66c16b05f8b800209bf0252c285bac.zip tcl-729687600b66c16b05f8b800209bf0252c285bac.tar.gz tcl-729687600b66c16b05f8b800209bf0252c285bac.tar.bz2 |
Convert Tcl_Eval and Tcl_GlobalEval to a macro
Diffstat (limited to 'unix')
-rw-r--r-- | unix/Makefile.in | 4 | ||||
-rw-r--r-- | unix/dltest/pkge.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index ee31282..f57d0ce 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -139,8 +139,8 @@ TCL_STUB_LIB_FLAG = @TCL_STUB_LIB_FLAG@ # To compile without backward compatibility and deprecated code uncomment the # following -NO_DEPRECATED_FLAGS = -#NO_DEPRECATED_FLAGS = -DTCL_NO_DEPRECATED +#NO_DEPRECATED_FLAGS = +NO_DEPRECATED_FLAGS = -DTCL_NO_DEPRECATED # Some versions of make, like SGI's, use the following variable to determine # which shell to use for executing commands: diff --git a/unix/dltest/pkge.c b/unix/dltest/pkge.c index a36ac30..c3380a7 100644 --- a/unix/dltest/pkge.c +++ b/unix/dltest/pkge.c @@ -41,5 +41,5 @@ Pkge_Init( if (Tcl_InitStubs(interp, "9.0", 0) == NULL) { return TCL_ERROR; } - return Tcl_Eval(interp, script); + return Tcl_EvalEx(interp, script, -1, 0); } |