Re: Pointers
Stefan Behnel <[email protected]> Tue, 09 Nov 2010 18:39:18 +0100
| Newsgroups | gmane.comp.python.pyrex |
|---|---|
| Message-ID | <[email protected]> |
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