[pypy-dev] make _ssl module compile

Lawrence Oluyede l.oluyede at gmail.com
Thu Aug 10 15:13:20 CEST 2006


> 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



More information about the Pypy-dev mailing list