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
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to