refactor(python): added global binding module
This commit is contained in:
16
src/python/bindings.cpp
Normal file
16
src/python/bindings.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include <pybind11/pybind11.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "const/bindings.h"
|
||||
#include "composition/bindings.h"
|
||||
|
||||
PYBIND11_MODULE(fourdsse_bindings, m) {
|
||||
m.doc() = "Python bindings for the 4DSSE project";
|
||||
|
||||
auto compMod = m.def_submodule("composition", "Composition-module bindings");
|
||||
register_comp_bindings(compMod);
|
||||
|
||||
auto constMod = m.def_submodule("constants", "Constants-module bindings");
|
||||
register_const_bindings(constMod);
|
||||
}
|
||||
Reference in New Issue
Block a user