Hi,

please don't hijack other people's threads, start a new one for a new topic.

Uwe Schmitt wrote:
> 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*.

Could you forward a section of your code and the corresponding generated C
code that shows this behaviour?

Stefan

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to