Nahuel Defossé, 24.11.2010 13:20:
> I want to call a C function which accepts 2 char * pointers, like this:
>
> int my_function( char *start, char *end);
>
> These pointers hold the start and end position of a long string which
> has to be splited.
>
> Then, there's another function which will return slices of a initial call to
> my_funciton, ala strtok.
>
> int my_iterate( char **start, char **end);
>
> How do I define a Python class which can hold this strucutre, and iterate
> over it? I can't figure out how to handle this kind of pointers in Cython.

Hmm, wrong list again?

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

Reply via email to