<div>Yes it does. Here is the updated, and now working code. Thank you so much!</div><div><br></div><div><div>(clines "void test(int* a) {</div><div> *a = 5;</div><div>};")</div><div><br></div><div>(defun set-to-five ()</div>
<div> (with-foreign-object (item :int)</div><div> (c-inline (item) (:pointer-void) :void "test(#0)" :one-liner t) ;; CHANGE (* :int) to :pointer-void</div><div> (format t "~%I GOT: ~a" (deref-pointer item :int))))</div>
</div><br clear="all"><div>Cheers,<br></div><div>Warren Wilkinson</div><div><br></div><br><div class="gmail_quote">On Thu, Jul 19, 2012 at 11:00 PM, Matthew Mondor <span dir="ltr"><<a href="mailto:mm_lists@pulsar-zone.net" target="_blank">mm_lists@pulsar-zone.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 19 Jul 2012 22:38:32 -0600<br>
Warren Wilkinson <<a href="mailto:warrenwilkinson@gmail.com">warrenwilkinson@gmail.com</a>> wrote:<br>
<br>
> * :int<br>
<br>
It's been a while since I used the FFI, but does :pointer<br>
or :pointer-void work here instead of * :int ?<br>
--<br>
Matt<br>
<br>
------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
_______________________________________________<br>
Ecls-list mailing list<br>
<a href="mailto:Ecls-list@lists.sourceforge.net">Ecls-list@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ecls-list" target="_blank">https://lists.sourceforge.net/lists/listinfo/ecls-list</a><br>
</blockquote></div><br>