[cffi-devel] OpenAL or Bust

Luis Oliveira luismbo at gmail.com
Wed Sep 7 04:44:24 UTC 2005


On 7/set/2005, at 04:49, Kenny Tilton wrote:
>    (cffi:defcstruct alcdevice-struct)
[...]
> I will let you all fight it out, but it looks as if CFFI needs to be 
> more tolerant? I will try initializing the max-align to 2 and see how 
> much further I get.

CFFI needs bug fixing that's what it is. :-)

Well, I can't find anything specific about empty structures in the ABI 
docs so I'm going to assume an empty struct indeed has size 0 and 
alignment 1 (or 0, whatever).

I'll add a test for this too.

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




More information about the cffi-devel mailing list