[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: user-defined Octave C++ functions
From: |
owinebar |
Subject: |
Re: user-defined Octave C++ functions |
Date: |
Mon, 23 Oct 2000 23:07:56 -0500 (EST) |
Is there any way to store a C pointer in an octave value? I mean
straightforward way, though I suppose I could store it as a character
array, and manually reconstruct it.
I'm pretty ignorant of C++, so feel free to be verbose.
Lynn
On Tue, 3 Oct 2000, John W. Eaton wrote:
> On 4-Oct-2000, address@hidden <address@hidden> wrote:
>
> |
> | Hi. I want to write a dynamically linked function for loading audio
> | file, using an external library like libsnd, returning a structure with
> | the format and relevant information.
> |
> [code ommitted]
>
> I would write this as
>
> [code ommitted]
>
> Other examples of using structures in the (current) Octave sources are
>
> getgrent.cc
> getpwent.cc
> getrusage.cc
> time.cc
>
>
> jwe
>
-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.che.wisc.edu/octave/octave.html
How to fund new projects: http://www.che.wisc.edu/octave/funding.html
Subscription information: http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------