ultimatepp/bazaar/BoostPyTest/modules.cppi
kohait e95d3a2a6b bazaar: BoostPyTest extension of exports, cleanup, preparation for further extensions; CtrlProp: some fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@3365 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-04-21 08:34:41 +00:00

15 lines
343 B
Text

//CAUTION this one is included in the main cpp file, where the modules are registered into python environment
BOOST_PYTHON_MODULE(hello)
{
scope().attr("__doc__") = "hello module";
export_world();
}
BOOST_PYTHON_MODULE(upp)
{
scope().attr("__doc__") = "upp module";
export_Core();
export_CtrlCore();
export_CtrlLib();
}