> Ouch.  _ssl is full of ctypes Unions, which rctypes doesn't support at
> all...  More hacks in sight.  Maybe we can handle the unions as
> structures with a special hint that forces the C code generator to write
> 'union' instead of 'struct' in their declaration...

So do you mean treat unions as struct at the rctypes level ? That
could be simply making rctypes recognizing "Union" base class as an
alias of Structure?

-- 
Lawrence
http://www.oluyede.org/blog
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to