diff options
author | dgp <dgp@users.sourceforge.net> | 2013-08-07 12:44:42 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-08-07 12:44:42 (GMT) |
commit | 47750cf97411377b0562db3816394c12707d8590 (patch) | |
tree | 975b6069c295e6da5f8e1a54a87f9278081dbbc9 /generic/tclBasic.c | |
parent | 854ba0e8ca16a91d958a52579e03b86d868fc8ca (diff) | |
download | tcl-47750cf97411377b0562db3816394c12707d8590.zip tcl-47750cf97411377b0562db3816394c12707d8590.tar.gz tcl-47750cf97411377b0562db3816394c12707d8590.tar.bz2 |
Add comment stating new limitation on Tcl(NR)EvalObjEx() interface.
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 00ae24e..8ba3825 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -5893,6 +5893,11 @@ Tcl_GlobalEvalObj( * compiled into bytecodes if necessary, unless TCL_EVAL_DIRECT is * specified. * + * If the flag TCL_EVAL_DIRECT is passed in, the value of invoker + * must be NULL. Support for non-NULL invokers in that mode has + * been removed since it was unused and untested. Failure to + * follow this limitation will lead to an assertion panic. + * * Results: * The return value is one of the return codes defined in tcl.h (such as * TCL_OK), and the interpreter's result contains a value to supplement |