/* * _TimeDelta.cpp * * Copyright (C) 2019 hikyuu.org * * Created on: 2019-12-14 * Author: fasiondog */ #include #include #include "pickle_support.h" using namespace boost::python; using namespace hku; void export_TimeDelta() { class_("TimeDelta", init<>()) .def(init()) .def(init()) .def(init()) .def(init()) .def(init()) .def(init()) .def(self_ns::str(self)) #if HKU_PYTHON_SUPPORT_PICKLE .def_pickle(normal_pickle_suite()) #endif ; }