[Openmcl-devel] FF call by reference

Ron Garret ron at awun.net
Tue Jul 15 22:29:04 UTC 2008

I'm trying to call an ObjC method that takes a pointer to a pointer to  
an ns-error as an argument.  I tried this:

? (rlet ((err (:* ns:ns-error))) (#/foo: thing err)))
 > Error: Unknown foreign type: NS:NS-ERROR

And yet:

? ns:ns-error

Even if this worked, it seems wrong because I'm passing in the pointer  
directly, not its address.  What's the Right Way to do this?


More information about the Openmcl-devel mailing list