From 2bf58671a0c0efed643dc673f9e7440a6088c343 Mon Sep 17 00:00:00 2001 From: Emily Boudreaux Date: Mon, 5 May 2025 11:58:57 -0400 Subject: [PATCH] refactor(python): added global binding module --- src/python/bindings.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/python/bindings.cpp diff --git a/src/python/bindings.cpp b/src/python/bindings.cpp new file mode 100644 index 0000000..4b56e17 --- /dev/null +++ b/src/python/bindings.cpp @@ -0,0 +1,16 @@ +#include + +#include + +#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); +} \ No newline at end of file