On Thursday, October 8, 2015 at 10:08:33 PM UTC-4, Isaiah wrote:
>
> akeep = Ptr{Void}
>
>
> This is declaring a "DataType" variable (try `typeof(Ptr)` to see what I 
> mean). You need to construct an instance, so try: `akeep = 
> Ptr{Ptr{Void}}(0)`
>
> Then the ccall signature should be `(Ptr{Ptr{Void}},)`.
>

In 0.4 one can use Ref{Ptr{Void}}.  See:

http://docs.julialang.org/en/latest/manual/calling-c-and-fortran-code/#passing-pointers-for-modifying-inputs

Reply via email to