diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-25 05:39:59 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-25 05:39:59 -0400 |
commit | b061c8082f02a105cc912a42a523036469a732ac (patch) | |
tree | 71f01abef598c6b5c35fbe1202778b7f2d074e6b /src/py_times.cc | |
parent | ca1560d53d2dc6a0a78ba607296b22b5ebb0feb8 (diff) | |
download | fork-ledger-b061c8082f02a105cc912a42a523036469a732ac.tar.gz fork-ledger-b061c8082f02a105cc912a42a523036469a732ac.tar.bz2 fork-ledger-b061c8082f02a105cc912a42a523036469a732ac.zip |
Export times_initialize and times_shutdown to Python
Diffstat (limited to 'src/py_times.cc')
-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") |