[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++ functions
From: |
Paul Kienzle |
Subject: |
Re: C++ functions |
Date: |
Mon, 02 Jun 2003 21:37:27 -0400 |
User-agent: |
Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.3) Gecko/20030312 |
Robert Widura wrote:
Hello,
I have some problems with the implementation of multiple C++ functions, when I use the
command "mkoctfile". To understand how it works, I have written the following 3 simple
programs:
You are trying to call one octave function from another
octave function. To do this, you have to marshall the
arguments and return values through an octave_value_list
<digression>
I would refer you to the page I put up on the octave wiki
at gnufans.net/octave.pl, but it isn't responding. We
need to move it to a more reliable machine. Anyone
got something available which they don't mind having
a small wiki on? Preferably one that can pretend it
is wiki.octave.org. Can we do this on source forge?
</digression>
Search the octave mailing list at http://www.octave.org
for an example.
The alternative approach used in a number of files
in octave/src/DLD_FUNCTIONS is to define an
internal function f, and two DLD_FUNCTIONS
funkprojekt_oct and f which call the internal f and
compile them into the same oct-file. To access f from
octave, you need to symlink f.oct to funkproject_oct.oct,
or vice versa depending on what you call the oct-file.
<digression>
I would put this info in the wiki, too, if it were up.
</digression>
Paul Kienzle
address@hidden
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- C++ functions, Robert Widura, 2003/06/02
- Re: C++ functions,
Paul Kienzle <=
- Re: C++ functions, Etienne Grossmann, 2003/06/03
- wiki on sf [was Re: C++ functions], Paul Kienzle, 2003/06/03
- Re: wiki on sf [was Re: C++ functions], D. Goel, 2003/06/04
- Re: wiki on sf [was Re: C++ functions], Etienne Grossmann, 2003/06/04
- Re: wiki on sf [was Re: C++ functions], D. Goel, 2003/06/04
- Message not available
- Re: wiki on sf, Etienne Grossmann, 2003/06/05
- Re: wiki on sf, D. Goel, 2003/06/05
- Re: wiki on sf, Etienne Grossmann, 2003/06/05
- Re: wiki on sf, D. Goel, 2003/06/05
- Re: wiki on sf, Alex Schroeder, 2003/06/05