10 #include <pybind11/pybind11.h>
14 namespace py = pybind11;
17 std::string version() {
23 PYBIND11_MODULE(xmsgeom_py, m) {
24 m.doc() =
"Python bindings for xmsgeom";
25 m.def(
"version", &version,
26 "Get current version of xmsgeom Python bindings.");
29 py::module modTriangulate = m.def_submodule(
"triangulate");
30 initTriangulate(modTriangulate);
initializer functions for members of triangulate python module.