refactor(python): added global binding module

This commit is contained in:
2025-05-05 11:58:57 -04:00
parent cf00cc0240
commit 2bf58671a0

16
src/python/bindings.cpp Normal file
View 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);
}