diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-28 04:26:48 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-28 04:26:48 -0400 |
commit | b4304515ff0501da47cbcd4b47c770e2bb55a83d (patch) | |
tree | 03bfa7fb21d09cffa20ded425016ad8b0aef7e21 /amount.cc | |
parent | 863485ad8ff29399fb9eafd1cfc863c5e8aa27f6 (diff) | |
download | fork-ledger-b4304515ff0501da47cbcd4b47c770e2bb55a83d.tar.gz fork-ledger-b4304515ff0501da47cbcd4b47c770e2bb55a83d.tar.bz2 fork-ledger-b4304515ff0501da47cbcd4b47c770e2bb55a83d.zip |
ledger.so (the python module) now builds based on autoconf discovery
Diffstat (limited to 'amount.cc')
-rw-r--r-- | amount.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -36,7 +36,9 @@ class amount_t::bigint_t { } ~bigint_t() { DEBUG_PRINT("ledger.memory.dtors", "dtor amount_t::bigint_t"); +#if DEBUG_LEVEL >= BETA assert(ref == 0); +#endif mpz_clear(val); } }; @@ -1099,9 +1101,7 @@ void export_amount() .def(! self) .def(abs(self)) -#if 0 - .def(str(self)) -#endif + .def(self_ns::str(self)) .def("negate", &amount_t::negate) .def("parse", parse_1) |