howto map c++ namespaces using boost::python?
hi all, i'm a newbie user of Boost. i need some suggestions to expose c++ namespaces in python. in python i use classes as namespaces, but using class_ construct to build python classes seems to not be applicable to c++ namesapces. moreover, i have a global c++ object which i'd like to map onto python. it is not that clear to me how i can achieve this result. thanks domenico -----[ Domenico Andreoli, aka cavok --[ http://filibusta.crema.unimi.it/~cavok/gpgkey.asc ---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50
cavok@filibusta.crema.unimi.it writes:
hi all,
i'm a newbie user of Boost.
i need some suggestions to expose c++ namespaces in python. in python i use classes as namespaces, but using class_ construct to build python classes seems to not be applicable to c++ namesapces.
moreover, i have a global c++ object which i'd like to map onto python. it is not that clear to me how i can achieve this result.
thanks domenico
May I suggest you bring your question to the Python C++-sig? http://www.boost.org/more/mailing_lists.htm#cplussig -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (2)
-
cavokļ¼ filibusta.crema.unimi.it
-
David Abrahams