diff options
-rw-r--r-- | src/py_times.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/py_times.cc b/src/py_times.cc index 4d6519ed..e140a23c 100644 --- a/src/py_times.cc +++ b/src/py_times.cc @@ -165,8 +165,10 @@ void export_times() register_optional_to_python<datetime_t>(); register_optional_to_python<date_t>(); - scope().attr("parse_datetime") = &py_parse_datetime; - scope().attr("parse_date") = &py_parse_date; + scope().attr("parse_datetime") = &py_parse_datetime; + scope().attr("parse_date") = &py_parse_date; + scope().attr("times_initialize") = ×_initialize; + scope().attr("times_shutdown") = ×_shutdown; #if 0 class_< interval_t > ("Interval") |