[cffi-devel] MEM-REF and BARE-STRUCT-TYPE-P issue

Luís Oliveira luismbo at gmail.com
Sat Jan 19 17:22:25 UTC 2013


On Sat, Jan 19, 2013 at 6:25 AM, CRLF0710 <crlf0710 at gmail.com> wrote:
> #1 In src/types.lisp there is following code in function MEM-REF:
> ....
>     (if (aggregatep parsed-type)
>         (if (bare-struct-type-p parsed-type)
> ....
> and its compiler macro has similiar code.
> However, the gf bare-struct-type-p has no method for  foreign-array-type
> whose objects will obviously pass the aggregatep test. So it breaks some
> code (on ccl).

That's definitely sounds like a bug. Can you open an issue on github?

Cheers,

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




More information about the cffi-devel mailing list