Hi Jey, Oh Man. I guess it's time to call it a night. I've read that doc a couple of times and completely missed the "&". Thanks for your help and sorry for the noise.
Thanks, -G On Friday, August 8, 2014 1:08:42 AM UTC-5, Jey Kottalam wrote: > > 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] > <javascript:>> 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 >
