>
>1. Beginner - Using Wrapped C++ in Python code (Taylor Centers)
>
>
> --
>
> BOOST_PYTHON_MODULE(MyMath) {
> > using namespace boost::python;
> > class_("MyMath", no_init)
> > .def("__init__", &__init__)
> > .def("MyAdd", &M
I've got my C++ program wrapped (I think), by including boost::python
libraries and doing this code at the bottom of the file.
BOOST_PYTHON_MODULE(MyMath) {
> using namespace boost::python;
> class_("MyMath", no_init)
> .def("__init__", &__init__)
> .def("MyAdd", &MyAdd)
> .def("MySubtract", &MyS