Yes it does. Here is the updated, and now working code.  Thank you so much!

(clines "void test(int* a) {
   *a = 5;

(defun set-to-five ()
  (with-foreign-object (item :int)
    (c-inline (item) (:pointer-void) :void "test(#0)" :one-liner t)  ;; CHANGE (* :int) to :pointer-void
    (format t "~%I GOT: ~a" (deref-pointer item :int))))

Warren Wilkinson

On Thu, Jul 19, 2012 at 11:00 PM, Matthew Mondor <> wrote:
On Thu, 19 Jul 2012 22:38:32 -0600
Warren Wilkinson <> wrote:

> * :int

It's been a while since I used the FFI, but does :pointer
or :pointer-void work here instead of * :int ?

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
Ecls-list mailing list