octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50116] libinterp functions should call C++ di


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #50116] libinterp functions should call C++ directly rather than calling through feval
Date: Tue, 24 Jan 2017 09:02:48 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Follow-up Comment #2, bug #50116 (project octave):

The example of comment #1 is bad, as "isequal" is a pure M-file. Another
example:

Before: 


octave_value_list in;
in(0) = val_A;
in(1) = val_B;
octave_value_list result = octave::feval ("sum", in, 1);


After: 


#include "builtin-defun-decls.h"

...

octave_value_list in;
in(0) = val_A;
in(1) = val_B;
octave_value_list result = Fsum (in, 1);



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50116>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]