diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-07 10:25:29 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:39 -0400 |
commit | 426a01b3f4163dcb5f0ca4bff6dbdcb3333616c4 (patch) | |
tree | 9e4456bae0efaef43bfa1aa55c178cb99796ea20 /src/py_amount.cc | |
parent | c211335760f2c5883aed34c31aeb6ce7e8e51bf9 (diff) | |
download | fork-ledger-426a01b3f4163dcb5f0ca4bff6dbdcb3333616c4.tar.gz fork-ledger-426a01b3f4163dcb5f0ca4bff6dbdcb3333616c4.tar.bz2 fork-ledger-426a01b3f4163dcb5f0ca4bff6dbdcb3333616c4.zip |
Added by-value conversions to Python for bool. This allowed me to
expose all of the amount_t members now.
Diffstat (limited to 'src/py_amount.cc')
-rw-r--r-- | src/py_amount.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/py_amount.cc b/src/py_amount.cc index 8721f879..0bb5c26a 100644 --- a/src/py_amount.cc +++ b/src/py_amount.cc @@ -55,7 +55,6 @@ void export_amount() make_getter(&amount_t::current_pool, return_value_policy<reference_existing_object>())) -#if 0 .add_static_property("keep_base", &amount_t::keep_base) .add_static_property("keep_price", &amount_t::keep_price) @@ -63,7 +62,6 @@ void export_amount() .add_static_property("keep_tag", &amount_t::keep_tag) .add_static_property("stream_fullstrings", &amount_t::stream_fullstrings) -#endif .def(init<double>()) .def(init<long>()) |