[Pyrex] Function wrapping problems
Bob Ippolito
bob at redivi.com
Wed Oct 15 01:49:20 CEST 2003
On Tuesday, Oct 14, 2003, at 19:18 America/New_York, Simon Frost wrote:
> Dear Bob,
>
> Thanks for the tip. However, the following code chokes on a type error.
>
> epidemic.pyx:19:21: Cannot assign type 'void (*)' to 'char (*(*))'
Oh, right.. should read:
argv = <char **>PyMem_Malloc(...)
........
PyMem_Free(<void *>argv)
I don't think anything else there needs an explicit cast
-bob
More information about the Pyrex
mailing list