diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-24 02:11:32 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-24 02:11:32 -0400 |
commit | 1fd37a432d060a08254ecb1a9129050563075140 (patch) | |
tree | f80ee5bf2b780f315348c2767150b9643e9d9488 /ledger.cc | |
parent | 73e2abd1b2e2bacbd353999a7b3edd95a04112c4 (diff) | |
download | fork-ledger-1fd37a432d060a08254ecb1a9129050563075140.tar.gz fork-ledger-1fd37a432d060a08254ecb1a9129050563075140.tar.bz2 fork-ledger-1fd37a432d060a08254ecb1a9129050563075140.zip |
cleanup; fully switched to autoconf -- use scripts/acprep
Diffstat (limited to 'ledger.cc')
-rw-r--r-- | ledger.cc | 21 |
1 files changed, 17 insertions, 4 deletions
@@ -8,8 +8,6 @@ namespace ledger { const std::string version = "2.0b"; -#ifdef DO_CLEANUP - journal_t::~journal_t() { DEBUG_PRINT("ledger.memory.dtors", "dtor journal_t"); @@ -30,8 +28,6 @@ journal_t::~journal_t() delete[] item_pool; } -#endif // DO_CLEANUP - bool journal_t::add_entry(entry_t * entry) { entries.push_back(entry); @@ -184,4 +180,21 @@ entry_t * journal_t::derive_entry(strings_list::iterator i, return added.release(); } +void initialize_amounts(); +void shutdown_amounts(); + +void initialize_formats(); +void shutdown_formats(); + +void initialize() +{ + initialize_amounts(); + initialize_formats(); +} + +void shutdown() +{ + shutdown_formats(); +} + } // namespace ledger |