>If you are returning a smart pointer, there is no need to use a call policy >like return_value_policy<...>. However, you have wrapped the class with >boost::shared_ptr and are returning a different kind of shared pointer. That >won't work. It's easier if you can just use boost::shared_ptr everywhere, >but it is also possible to set up conversions for a custom smart pointer. Ok >thank you. But I have a error, when I try to expose my class : Assertion >failed! Program: ... File: libs\python\src\converter\registry.cpp Line: 207 Expression: slot->m_to_python == 0 I am using MS Visual Express 2010
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig