22 Apr
2008
22 Apr
'08
6:59 p.m.
"Dan Fike"
I've written the following code to expose this class to Python:
BOOST_PYTHON_MODULE(myModule) { boost::python::class_<foo>("foo", boost::python::init<>()) .def("isAligned", &bar.isAligned) ; }
I made a minor typo in the above code when preparing it for the mailing list. It doesn't have any bearing on the rest of the thread. The 3rd line should read as follows: .def ("isAligned", &foo::isAligned)