octave-maintainers
[Top][All Lists]
Advanced

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

Implementation of libpointer


From: Reza Housseini
Subject: Implementation of libpointer
Date: Tue, 24 Sep 2013 11:57:11 +0200

Hello

I try to implement the libpointer function [1]. It is used for example in the calllib function [2]. Therefore a new type declaration is needed and I was wondering where and how to implement them. Is it correct that it need to be placed in libinterp/octave-value? And should it be some derived struct class, with fixed size, like:

    class
    octave_pointer : public octave_struct
    {
      ...
    }

Or inherit directly from octave_map?

Thanks for any advice,

Cheers Reza

[1] http://www.mathworks.ch/ch/help/matlab/ref/libpointer.html
[2] http://www.mathworks.ch/ch/help/matlab/ref/calllib.html

reply via email to

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