Re: Does __Pyx_ImportType need to check struct sizes? (Cython-relevant, too)
Greg Ewing <[email protected]> Thu, 04 Jun 2009 11:27:16 +1200
| Newsgroups | gmane.comp.python.pyrex |
|---|---|
| Message-ID | <[email protected]> |
Robert Bradshaw wrote: > We could just check if the extension type is extern That doesn't tell you anything, because there's nothing stopping you from writing a .pxd file describing an extension type in a non-Pyrex module (and in fact that's the way I currently recommend -- extern extension type declarations are really a holdover from before the cimport mechanism existed). -- Greg