[Pyrex] Passing c pointers to a class method

Andrew Bennetts andrew-pyrex at puzzling.org
Tue May 4 23:57:33 CEST 2004


On Tue, May 04, 2004 at 02:54:00PM -0400, John (J5) Palmieri wrote:
[...]
> 
> Ok, so is there a way to pass a C pointer into a method?  I inherited
> the DBus Python bindings and originally they were just being cast as
> python object and recast later to sidestep the problem.  This seems to
> be the cause of some stack corruption so I am trying to find another
> solution. 

I have some patches for DBus's python bindings to fix this, but they never
got applied and I didn't have any more time to play with them... you might
find them to be useful:

    http://freedesktop.org/pipermail/dbus/2004-January/000736.html

-Andrew.





More information about the Pyrex mailing list