[racket] Problems wrapping the RabbitMQ C client library using the ffi
On Mon, Aug 27, 2012 at 3:39 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> You need
>
> (define-amqp amqp_queue_declare
> (_fun _amqp-connection-state-pointer
> _amqp_channel_t _pointer _int _int _int _int _pointer
> -> _amqp_queue_declare_ok_t-pointer))
>
> Using `_amqp_queue_declare_ok_t' corresponds to the return type
> `_amqp_queue_declare_ok_t', while `_amqp_queue_declare_ok_t-pointer'
> corresponds to `_amqp_queue_declare_ok_t*'.
>
Many thanks Matthew. That has fixed it.
Juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120828/b73ab9ca/attachment.html>