Closed delaere closed 5 years ago
Probably the simplest thing to do is to just call functions from a central module definition. e.g. //file 1 BOOST_PYTHON_MODULE(poc) { wrapFoo(); wrapBar(); wrapBaz(); } //file 2 void wrapFoo() { class_<...>(...); } //file 3 void wrapBar() { class_<...>(...); } //file 4 void wrapBaz() { class_<...>(...); }
Probably the simplest thing to do is to just call functions from a central module definition. e.g.
//file 1 BOOST_PYTHON_MODULE(poc) { wrapFoo(); wrapBar(); wrapBaz(); }
//file 2 void wrapFoo() { class_<...>(...); }
//file 3 void wrapBar() { class_<...>(...); }
//file 4 void wrapBaz() { class_<...>(...); }