Thomas Berg wrote: > bp::scope sc(main); > bp::def("function", myfunction, "function helpstring");
Now that looks interesting. I'll implement that and let you know if it leads to any further problems. But it sounds like the perfect solution. > Found this out by reading the source code of > boost::python::detail::init_module, called by the BOOST_PYTHON_MODULE > macro. Good idea. I'm really wondering how someone could develop such a mighty tool like boost python and not even think about writing a useful documentation for it. _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig