diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-21 03:23:17 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-21 03:23:17 -0400 |
commit | fb91d6f21e341f12d80e95195322837cbda78cf3 (patch) | |
tree | 957c901ee876bae7c174a003b7d552c34776d135 /binary.h | |
parent | 06ac87ab208210bef6a30cf71e116847080d2383 (diff) | |
download | fork-ledger-fb91d6f21e341f12d80e95195322837cbda78cf3.tar.gz fork-ledger-fb91d6f21e341f12d80e95195322837cbda78cf3.tar.bz2 fork-ledger-fb91d6f21e341f12d80e95195322837cbda78cf3.zip |
add copy-on-write semantics to amount.cc; cuts object creation by 5x
Diffstat (limited to 'binary.h')
-rw-r--r-- | binary.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3,6 +3,8 @@ #include "parser.h" +#include <deque> + namespace ledger { class binary_parser_t : public parser_t @@ -16,6 +18,8 @@ class binary_parser_t : public parser_t const std::string * original_file = NULL); }; +extern std::deque<amount_t::bigint_t *> bigints; + void write_binary_journal(std::ostream& out, journal_t * journal, strings_list * files = NULL); |