[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50116] libinterp functions should call C++ di
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #50116] libinterp functions should call C++ directly rather than calling through feval |
Date: |
Tue, 24 Jan 2017 16:56:02 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #3, bug #50116 (project octave):
The second argument is the number of output arguments (nargout). For the
function "sum", there is only one output. But a function like "sort" might
have two outputs.
I hadn't gotten around to it but this is exactly the way I was going to
proceed. Add
#include "builtin-defun-decls.h"
to the top of the files that need it, and then replace
feval ("fcn_name", args, nargout);
with
Ffcn_name (args, nargout);
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50116>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/