reworked pattern generator

This commit is contained in:
2026-07-09 18:59:41 +02:00
parent b4a3e1187a
commit 46623c946a
9 changed files with 277 additions and 299 deletions
+3 -1
View File
@@ -25,5 +25,7 @@ void init_pattern(py::module &m) {
.def("save", &sls::Pattern::save)
.def("str", &sls::Pattern::str)
.def("data", (pat * (sls::Pattern::*)()) & sls::Pattern::data,
py::return_value_policy::reference);
py::return_value_policy::reference)
.def(py::self == py::self)
.def(py::self != py::self);
}
+1
View File
@@ -10,5 +10,6 @@ ODR warnings
#include <pybind11/pybind11.h>
#include <pybind11/operators.h>
#include <pybind11/stl.h>
#include <pybind11/stl/filesystem.h>
#include <pybind11/numpy.h>
#include "typecaster.h"