Hi Gerry,

You're probably looking for Julia's "&" operator, or possibly the
"unsafe_pointer_from_objref" method (unlikely). Note that "&" works
different in Julia than in C. The full documentation for calling C and
Fortran code is available at
http://julia.readthedocs.org/en/latest/manual/calling-c-and-fortran-code/

-Jey

On Thu, Aug 7, 2014 at 11:02 PM, Gerry Weaver <[email protected]> wrote:
> Hello All,
>
> I've got a couple of c functions that I'm trying to call. The first one
> returns a void pointer and the second one expects the address of that
> pointer as an argument. This would be accomplished in c via the "&"
> operator. How do I get the address of a variable in Julia? I've tried using
> convert, but that doesn't seem to work.
>
> Thanks,
> -G

Reply via email to