summaryrefslogtreecommitdiff
path: root/src/py_times.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/py_times.cc')
-rw-r--r--src/py_times.cc6
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") = &times_initialize;
+ scope().attr("times_shutdown") = &times_shutdown;
#if 0
class_< interval_t > ("Interval")