diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-04 09:53:10 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:37 -0400 |
commit | 93096b77f3c03b826c8857e4817ccd1bca52f9ee (patch) | |
tree | 403a0ddfc0241b6b959d7b9c4eefabd77832e166 /src/py_amount.cc | |
parent | 0214a136c2b21b3cff3dfc94095d2badc3136b1b (diff) | |
download | ledger-93096b77f3c03b826c8857e4817ccd1bca52f9ee.tar.gz ledger-93096b77f3c03b826c8857e4817ccd1bca52f9ee.tar.bz2 ledger-93096b77f3c03b826c8857e4817ccd1bca52f9ee.zip |
Got PyUnitTests functioning again.
Diffstat (limited to 'src/py_amount.cc')
-rw-r--r-- | src/py_amount.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/py_amount.cc b/src/py_amount.cc index c1dd7649..61e3e4b5 100644 --- a/src/py_amount.cc +++ b/src/py_amount.cc @@ -34,11 +34,14 @@ void export_amount() scope().attr("AMOUNT_PARSE_NO_REDUCE") = AMOUNT_PARSE_NO_REDUCE; class_< amount_t > ("amount") +#if 0 .def("initialize", &amount_t::initialize) .staticmethod("initialize") .def("shutdown", &amount_t::shutdown) .staticmethod("shutdown") +#endif +#if 0 .add_static_property("keep_base", &amount_t::keep_base) .add_static_property("keep_price", &amount_t::keep_price) @@ -46,6 +49,7 @@ void export_amount() .add_static_property("keep_tag", &amount_t::keep_tag) .add_static_property("full_strings", &amount_t::full_strings) +#endif .def(init<double>()) .def(init<long>()) |