[Pyrex] Does __Pyx_ImportType need to check struct sizes? (Cython-relevant, too)

Robert Kern robert.kern at gmail.com
Tue Jun 2 19:35:58 CEST 2009


On 2009-06-02 01:30, Robert Bradshaw wrote:
> On Jun 1, 2009, at 5:10 PM, Greg Ewing wrote:
>
>> Robert Bradshaw wrote:
>>
>>> Maybe a list of the struct members (as a char*).
>> How is that going to work for types that weren't
>> created using Pyrex/Cython?
>
> It won't, but do we check for the sizes of those types anyways?

Yes. That is precisely the case I am complaining about.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Pyrex mailing list