Found pointer_from_objref
Thanks! I am trying to fix HDF5 using this! On Sunday, April 20, 2014 6:29:16 PM UTC+8, Tim Holy wrote: > > You can use pointer(foo). > > However, note that Julia has the "a===b" comparsion (which maps to > "is(a,b)"), > which evaluates to true only if a and b refer to the same object. > > --Tim > > On Saturday, April 19, 2014 10:37:45 PM Freddy Chua wrote: > > I am trying to see if I could fix some file serialization problems. > > > > Suppose I have a composite type > > > > type Foo > > a::Int64 > > end > > > > foo = Foo(10) > > > > How do I get the memory address or location of foo? >
