[Cython] problems with external data
Uwe Schmitt
uschmitt at mineway.de
Thu Nov 13 15:24:34 CET 2008
Hi,
I got a problem in the following situatino when wrapping
some c code:
file svdlib.h contains:
extern char *SVDVersion;
extern long SVDVerbosity;
file svlib.pyx begins with:
cdef extern from "svdlib.h" :
cdef extern long SVDVerbosity
cdef extern char * SVDVersion
If I study the generated C code, Cython
handles SVDVersion as a char*, but SVDVerbosity
as a PyObject*.
If I try to reduce this problem to a simple test
case, everything works fine :-(
Any hints why Cython does not recognize SVDVerbosity ???
Greetings, Uwe
More information about the Cython-dev
mailing list