<br><div class="gmail_quote">On Mon, Aug 27, 2012 at 3:39 PM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You need<br>
<div class="im"><br>
(define-amqp amqp_queue_declare<br>
(_fun _amqp-connection-state-pointer<br>
_amqp_channel_t _pointer _int _int _int _int _pointer<br>
</div> -> _amqp_queue_declare_ok_t-pointer))<br>
<br>
Using `_amqp_queue_declare_ok_t' corresponds to the return type<br>
`_amqp_queue_declare_ok_t', while `_amqp_queue_declare_ok_t-pointer'<br>
corresponds to `_amqp_queue_declare_ok_t*'.<br></blockquote><div><br>Many thanks Matthew. That has fixed it.<br><br>Juan<br></div></div>