[Pyrex] Function Pointer

Marco Bubke marco at bubke.de
Thu Mar 4 21:10:56 CET 2004


On Thursday 04 March 2004 19:41, Jiba wrote:
> >     gluTessCallback(self._tesselator, GLU_TESS_BEGIN_DATA,
> > 	<void(*)()>&tesselator_begin)             <<<<<<<<<<<<<<<<<<<
>
> Hi,
>
> I use GLU callback as following :
>
> gluTessCallback(self._tess_obj, GLU_TESS_VERTEX_DATA,  <_GLUfuncptr>
> vertex_glu_callback)
>
> _GLUfuncptr is a dummy C type which is defined in glu.h i believe ;
> using it is the recommanded way for GLU.
>

Oh, I thought thats for internal use? Ok, but how to import this type? If I
define it myself I get allways void ((*)(void)). Its running but calling
nothing.




More information about the Pyrex mailing list