Export times_initialize and times_shutdown to Python
This commit is contained in:
parent
ca1560d53d
commit
b061c8082f
1 changed files with 4 additions and 2 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue