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

Luís Oliveira luismbo at gmail.com
Sun Jan 20 22:28:10 UTC 2013


On Sun, Jan 20, 2013 at 3:24 AM, CRLF0710 <crlf0710 at gmail.com> wrote:
> I'm not sure which is better. Actually i'm not sure what it means to ask a
> non-struct type if it is bare(maybe the <proper value> is nil). But i think
> solution #1 is the simplest?

It seems more convenient to have bare-struct-type-p return nil for
non-struct types.

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




More information about the cffi-devel mailing list