From b061c8082f02a105cc912a42a523036469a732ac Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 25 Oct 2009 05:39:59 -0400 Subject: Export times_initialize and times_shutdown to Python --- src/py_times.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/py_times.cc') 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(); register_optional_to_python(); - 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") -- cgit v1.2.3