Hi,

Sorry, but I'm again in troubles and needing help with pointers and 
conversation with C

On C, I have

      if (GMT_Destroy_Data (API, &M) != GMT_NOERROR)

and the prototype of GMT_Destroy_Data() is (void *, void *)

in Julia I need to get the pointer of that M

typeof(M) = Ptr{GMT.GMT_MATRIX}

so I could do

if (GMT_Destroy_Data(API, ptr) != GMT_NOERROR)

but I'm not able to get that 'ptr'.

(M is a C struct that I'm able to see correctly in the Julia side)

Reply via email to