[Pyrex] Pyrex ctypedef bug?
Greg Ewing
greg at cosc.canterbury.ac.nz
Tue Jun 1 03:51:55 CEST 2004
John J Lee <jjl at pobox.com>:
> The reason is that, though I define a variable rval like so:
>
> def eval_script(self, script):
> cdef jsval rval
> ...
>
> Pyrex generates code with C type int (or long, depending on the Pyrex
> ctypedef), not jsval
This is a known problem, and I hope to do something about
it in a future version. I can't think of any satisfactory
workaround, unfortunately. You'll just have to live with
platform-dependent Pyrex code in the meantime.
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg at cosc.canterbury.ac.nz +--------------------------------------+
More information about the Pyrex
mailing list