immutable my_t
a::Cint
b::Cint
c::Cint
bufs::Ptr{Ptr{Void}}
flags::Cint
procFunc::Ptr{Void}
resetFunc::Ptr{Void}
end
On Tue, Jul 21, 2015 at 7:21 PM, Dave C <[email protected]> wrote:
> I'm trying to wrap some C code that has a struct in a header. I'm trying
> to create a Julia type that emulates the following struct:
>
> typedef struct
> {
> int a;
> int b;
> int c;
> void* *bufs;
> int flags;
> void* procFunc;
> void* resetFunc;
> } my_t;
>
> I'm fine with everything except how to handle:
> void* *bufs;
>
> Any advice or general thoughts? Thanks in advance - Dave.
>