diff --git a/include/cantera/cython/wrappers.h b/include/cantera/cython/wrappers.h index f20867365..4025d8c07 100644 --- a/include/cantera/cython/wrappers.h +++ b/include/cantera/cython/wrappers.h @@ -27,6 +27,10 @@ public: } } + virtual void writeendl() { + PySys_WriteStdout("%s", "\n"); + } + virtual void error(const std::string& msg) { std::string err = "raise Exception('''"+msg+"''')"; PyRun_SimpleString(err.c_str());