diff --git a/src/Python/pytnl/tnl/Array.h b/src/Python/pytnl/tnl/Array.h index 6e19878de07d6986d6a6dea1c109371b1c1b59d6..b92f22f0d76be53a73037475a60e44e802aaf51f 100644 --- a/src/Python/pytnl/tnl/Array.h +++ b/src/Python/pytnl/tnl/Array.h @@ -30,7 +30,10 @@ void export_Array(py::module & m, const char* name) }) .def(py::self == py::self) .def(py::self != py::self) - .def("setValue", &ArrayType::setValue) + .def("setValue", &ArrayType::setValue, py::arg("v"), py::arg("begin") = 0, py::arg("end") = 0) + // TODO: better structuring + .def("save", &ArrayType::save) + .def("load", &ArrayType::load) .def("__str__", []( ArrayType & a ) { std::stringstream ss;