[cffi-devel] Help with recursive struct member

Luís Oliveira loliveira at common-lisp.net
Thu Oct 31 15:14:23 UTC 2013


On Thu, Oct 31, 2013 at 8:40 AM, Joeish W <joeish80829 at yahoo.com> wrote:
> when i wrap like this....i know lisp is known for recursion how do i bypass
> this
> (defcstruct cv-mem-storage
>     (signature :int)
>     (bottom (:pointer (:struct cv-mem-block)))

One work-around is to use a plain :POINTER.

HTH,

-- 
Luís Oliveira
http://kerno.org/~luis/



More information about the cffi-devel mailing list