diff options
Diffstat (limited to 'py_amount.cc')
-rw-r--r-- | py_amount.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py_amount.cc b/py_amount.cc index 6a6ca499..535055fb 100644 --- a/py_amount.cc +++ b/py_amount.cc @@ -179,6 +179,11 @@ void export_amount() .def("zero", &amount_t::zero) .def("valid", &amount_t::valid) + + .def("initialize", &amount_t::initialize) + .staticmethod("initialize") + .def("shutdown", &amount_t::shutdown) + .staticmethod("shutdown") ; class_< commodity_base_t::updater_t, commodity_updater_wrap, |