On Wednesday, August 17, 2016 at 12:49:58 AM UTC-7, Bart Janssens wrote: > > It looks like ptr is actually an array of pointers? If so, you could > access the first element using: > unsafe_load(convert(Ptr{atyp}, p[1])) > > ptr is a pointer to the beginning of an array of structs. Steve has explained that there is really no such thing in Julia, except by using immutable types.
- [julia-users] Wrapping an array from C Kiran Pamnany
- [julia-users] Re: Wrapping an array from C Steven G. Johnson
- [julia-users] Re: Wrapping an array from C Kiran Pamnany
- [julia-users] Re: Wrapping an array from C Steven G. Johnson
- [julia-users] Re: Wrapping an array fro... Steven G. Johnson
- [julia-users] Re: Wrapping an array fro... Kiran Pamnany
- [julia-users] Re: Wrapping an arra... Kiran Pamnany
- [julia-users] Re: Wrapping an arra... Steven G. Johnson
- [julia-users] Re: Wrapping an ... Kiran Pamnany
- Re: [julia-users] Wrapping an array from C Bart Janssens
- Re: [julia-users] Wrapping an array from C Kiran Pamnany