[Pyrex] sizeof cimport struct

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Dec 19 03:06:41 CET 2005


Eric Huss wrote:

>     print sizeof(something.SOMESTRUCT)

> mything.pyx:5:26: 'SOMESTRUCT' is not a constant, variable or function identifier

> Am I misusing/abusing the cimport feature, or is this just a quirk?

Looks like a quirk. I'll investigate.

Thanks,

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+



More information about the Pyrex mailing list