[C++-sig] Problem using wrapped void* in Python

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Sat Nov 29 17:52:52 CET 2003


> So, what I am looking for is a way to tell Boost.Python how to convert 
> from void* to Python and back. I have tried various things, like the 
> opaque_pointer_converter and the to_python_converter, but I end up with 
> code which I don't understand anymore and/or which doesn't compile. I 
> would be very grateful if one of you could provide me with a bit of code 
> to get me going again.

Recently Niall Douglas added this to the Boost.Python FAQ:

http://cci.lbl.gov/~rwgk/shortcuts/boost/libs/python/doc/v2/faq.html#voidptr

Does this help in your case?

Ralf


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/




More information about the Cplusplus-sig mailing list