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>("MyMath", no_init) > .def("__init__", &__init__) > .def("MyAdd", &MyAdd) > .def("MySubtract", &MySubtract); > } It builds without error into a static library in Visual Studio. Now I want to use those functions in a Python program, but can't figure out how. What are my next steps? I've read something about bjam, but I haven't been able to find that or get it working. Any tips or direction would be appreciated. Thanks! Taylor
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org https://mail.python.org/mailman/listinfo/cplusplus-sig