On Sunday, April 20, 2014 6:47:39 AM UTC-4, Freddy Chua wrote:
>
> Found 
>
> pointer_from_objref
>
> Thanks! I am trying to fix HDF5 using this!
>

Note that this will give a pointer to an internal Julia data structure 
(although this may change: https://github.com/JuliaLang/julia/pull/2818), 
which is probably not what you want for serialization.

If you have an Array whose elements are an immutable type, that should 
serialize nicely (since its memory layout is identical to the analogous C 
array of structs).

Reply via email to