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

Function BOOST_PYTHON_MODULE

02-ExposingClasses/classes.cpp:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26using namespace boost::python;
27
28BOOST_PYTHON_MODULE(classes)
29{
30 class_<World>("World")
31 .def("greet", &World::greet)
32 .def("set", &World::set)
33 .def("many", &World::many)
34 ;
35};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected