Export times_initialize and times_shutdown to Python

This commit is contained in:
John Wiegley 2009-10-25 05:39:59 -04:00
parent ca1560d53d
commit b061c8082f

View file

@ -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")