[Pyrex] Re: pyCdk SystemError: Objects/longobject.c:240: bad argument to internal function

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Mar 7 05:23:32 CET 2005


forestiero at qwest.net wrote:

> Unfortunately I have another problem when I try to run the pycdk setup.py to
> create the cdk extension from the pyrex generated cdk.c:

> cdk.c:66: error: parse error before "CDKBUTTON"
> cdk.c:66: warning: no semicolon at end of struct or union
> cdk.c:68: error: parse error before '}' token
> cdk.c:106: error: parse error before "CDKFSCALE"

How are CDKBUTTON and CDKFSCALE declared in the .h file?

How are they declared in the Pyrex code?

-- 
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