[cffi-devel] :uint64 ... how to handle on non-supporting platform ?

Frank Goenninger frgo at me.com
Sat Jan 16 13:24:19 UTC 2010


Hi -

thanks to Louis for answering my last question about function pointers.

I now have a new challenge: How to handle :uint64 when I using  
AllegroCL 8.1 express edition on Mac OS X when this implementation is  
not supporting :unsigned-long-long ?

I do have:

(defcfun ("amqp_basic_ack" %amqp-basic-ack) :int
   (state        amqp-connection-state-t)
   (channel      amqp-channel-t)
   (delivery-tag :uint64)   ;;;  <<<<<< ----  this is my problem ...
   (multiple     amqp-boolean-t))

Could I get around this with a clever padding of the 'multiple'  
argument ?

Thanks for any advice!

Cheers
   Frank







More information about the cffi-devel mailing list