|
| From: | Markus Mützel |
| Subject: | [Octave-bug-tracker] [bug #62308] use of octave::feval causes error: function '...' not found |
| Date: | Thu, 14 Apr 2022 08:46:26 -0400 (EDT) |
Follow-up Comment #9, bug #62308 (project octave):
Thanks for tracking this down.
If calling `interpreter::initialize()` is mandatory now, the example code
should be adapted:
https://hg.savannah.gnu.org/hgweb/octave/file/d7f799e6d836/examples/code/embedded.cc
Better yet would be to understand *why* that step is no longer optional. (Or
is it?)
Do I understand correctly that you also need to avoid calling
`interpreter::execute()` completely?
It is indeed surprising that it is calling `shutdown()` unconditionally before
returning:
https://hg.savannah.gnu.org/hgweb/octave/file/d7f799e6d836/libinterp/corefcn/interpreter.cc#l921
CC'ing jwe because he'll probably know how this should be working.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62308>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |