change timestamp to python private convention

This commit is contained in:
Christopher Lackner 2018-05-14 11:01:27 +02:00
parent 8e73ba68fc
commit 375460b75d

View File

@ -482,7 +482,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
*/
.def("__str__", &ToString<Mesh>)
.def_property_readonly("timestamp", &Mesh::GetTimeStamp)
.def_property_readonly("_timestamp", &Mesh::GetTimeStamp)
.def("Load", FunctionPointer
([](Mesh & self, const string & filename)
{