|
| From: | Axul Zwar |
| Subject: | [Octave-bug-tracker] [bug #62308] use of octave::feval causes error: function '...' not found |
| Date: | Fri, 15 Apr 2022 02:34:34 -0400 (EDT) |
Follow-up Comment #13, bug #62308 (project octave):
I think a possibility to use `shutdown` function should be accessible for an
user. To make it as private member is too restrictive.
In 6.4.0 I did following
// Global variable
octave::interpreter *interpreter=NULL;
Init event - separate procedure:
// Start interpreter first
interpreter = new octave::interpreter;
if(interpreter)
{
interpreter->execute();
// All other staff
return true;
}
return false;
// Finish (shutdown) event - separate procedure
interpreter->shutdown();
delete interpreter;
Remark: To use Octave facilities I have built a DLL-Variant of interface and
not standalone solution. Therefore it is possible to split init and exit
events in main core application.
_______________________________________________________
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] |