[Pyrex] Pointers

Stefan Behnel stefan_ml at behnel.de
Tue Nov 9 18:39:18 CET 2010


Javier Correa, 09.11.2010 18:16:
> I-m new to pyrex and I'm trying to use it to have access to a library
> (MesaSR, http://www.mesa-imaging.ch/drivers.php), but I can't make use of
> pointers.
>
> I can't seem to define a function that one of its arguments it's a pointer
> (a function that initialize the structure). I'm also having troubles with
> using the SR_GetImage that returns a void* pointer.
>
> My code is as follows:
>
> import numpy
>
> cdef extern from "libMesaSR.h":
>     ctypedef SRCAM

ctypedef SCRAM *what*?

Stefan



More information about the Pyrex mailing list