On Thu, Apr 19, 2012 at 2:50 PM, Stelian Ionescu <sione...@cddr.org> wrote:
> (with-foreign-object (p '(:struct timespec) 2)
>  (mem-aref p '(:struct timespec) 1))
>
> In order not to break existing code [...]

Existing code will not have this (:struct foo) syntax because it was
introduced by the libffi merge. (mem-aref p 'timespec 1) should
exhibit backwards-compatible behaviour.

-- 
Luís Oliveira
http://r42.eu/~luis/

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

Reply via email to