Boost logo

Boost :

From: V Jovanovic (canontriplex_at_[hidden])
Date: 2002-02-07 09:59:39


From the available documentation, besides strings, I
don't see how to pass python complex types to my c++
methods in boost.python.
For example how would I pass a list ...

>>> import myclass
>>> l=myclass.reverse([1,2,3])
>>> l
[3,2,1]

or how would I pass a dictionary in and out of the
method?

Vin

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk