16 lines
450 B
C++
16 lines
450 B
C++
|
|
#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);
|
||
|
|
}
|