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
commit8916ec24830ca0747676e2a611de77bb850b23e1 (patch)
treecd1888410ecea2147c3d4bebde042c8a5217519b
parent21722ae48442b1ed2a6f398b36b23ffb48cd2901 (diff)
downloadfork-ledger-8916ec24830ca0747676e2a611de77bb850b23e1.tar.gz
fork-ledger-8916ec24830ca0747676e2a611de77bb850b23e1.tar.bz2
fork-ledger-8916ec24830ca0747676e2a611de77bb850b23e1.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: