MCPcopy Create free account
hub / github.com/TNG/boost-python-examples / BOOST_PYTHON_MODULE

Function BOOST_PYTHON_MODULE

11-Iterators/iterators.cpp:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27using namespace boost::python;
28
29BOOST_PYTHON_MODULE(iterators)
30{
31 class_<Example>("Example")
32 .def("strings", range(&Example::begin, &Example::end))
33 .def("add", &Example::add)
34 ;
35}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected