delaere / VeheMencE

User friendly vme control library.
Other
1 stars 2 forks source link

src/PythonModule.cpp gets bulky #13

Closed delaere closed 5 years ago

delaere commented 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_<...>(...); }