summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-02-20 00:04:13 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:24 -0400
commit2d95c0e2a522a7f607af227e6c2fc0d6e731ace5 (patch)
treecd1888410ecea2147c3d4bebde042c8a5217519b
parent945d315ebac5e2d5c510b43399fc8da625032b36 (diff)
downloadfork-ledger-2d95c0e2a522a7f607af227e6c2fc0d6e731ace5.tar.gz
fork-ledger-2d95c0e2a522a7f607af227e6c2fc0d6e731ace5.tar.bz2
fork-ledger-2d95c0e2a522a7f607af227e6c2fc0d6e731ace5.zip
Added a global variable `entry_balance' which contains the balance of
the last attempted entry finalization.
-rw-r--r--journal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/journal.h b/journal.h
index 54486c9d..b5fa9553 100644
--- a/journal.h
+++ b/journal.h
@@ -150,6 +150,8 @@ class entry_base_t
virtual bool valid() const = 0;
};
+extern value_t entry_balance;
+
class entry_t : public entry_base_t
{
public: