On 2005-dec-30, at 13:08, Yaroslav Kavenchuk wrote:
CFFI[59]> (foreign-type-size 'foo)
16
;; in example - 12

Well.. it /could/ be 12. :-)


CFFI[74]> (foreign-alloc :int :initial-contents #(1 2 3))
#<FOREIGN-ADDRESS #x012D5578>
CFFI[75]> (loop for i from 0 below 3
              collect (mem-ref * :int i))
(1 33554432 131072)

Oops, another typo. Fixed. Thanks.

--
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
Equipa Portuguesa do Translation Project
http://www.iro.umontreal.ca/translation/registry.cgi?team=pt

_______________________________________________
cffi-devel mailing list
cffi-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel

Reply via email to