From e59ee9eb77566a79e253cfd154ad0c9f301b8b5b Mon Sep 17 00:00:00 2001 From: fasiondog Date: Thu, 19 Dec 2019 02:47:44 +0800 Subject: [PATCH] update for _Datetime.cpp --- hikyuu_pywrap/_Datetime.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hikyuu_pywrap/_Datetime.cpp b/hikyuu_pywrap/_Datetime.cpp index c3901eab..ef43fe59 100644 --- a/hikyuu_pywrap/_Datetime.cpp +++ b/hikyuu_pywrap/_Datetime.cpp @@ -21,8 +21,13 @@ bool (*le)(const Datetime&, const Datetime&) = operator<=; void export_Datetime() { class_("Datetime") - .def(init()) .def(init()) + .def(init()) + .def(init()) + .def(init()) + .def(init()) + .def(init()) + .def(init()) .def(init()) .def(self_ns::str(self)) .add_property("year", &Datetime::year)