On Fri, Aug 26, 2011 at 10:08 AM, Frank Goenninger <f...@me.com> wrote:
> kr = 
> (*privateDataRef->deviceInterface)->GetLocationID(privateDataRef->deviceInterface,
>  &locationID);
>
> Here I need to pass the address of a pointer to IOUSBDeviceInterface struct 
> ...

Couldn't you call it like this?

  IOUSBDeviceInterface *foo;
  GetLocationID(&foo, ...);

If you can, I'd try reducing your test case to allocate a pointer
using WITH-FOREIGN-OBJECT and pass that to GetLocationID instead of
using a struct.

Cheers,

-- 
Luís Oliveira
http://r42.eu/~luis/

_______________________________________________
cffi-devel mailing list
cffi-devel@common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel

Reply via email to