summaryrefslogtreecommitdiff
path: root/valexpr.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-02-25 12:02:11 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:26 -0400
commit88a895a4944efcae0f7dbc7e7d73bef817cd317e (patch)
tree1b9ec62b7efe0574f4210c4d1e76e3c133e3499d /valexpr.h
parent0dc7584810d4a1c3d619a06f64e2ca55a9375d2c (diff)
downloadfork-ledger-88a895a4944efcae0f7dbc7e7d73bef817cd317e.tar.gz
fork-ledger-88a895a4944efcae0f7dbc7e7d73bef817cd317e.tar.bz2
fork-ledger-88a895a4944efcae0f7dbc7e7d73bef817cd317e.zip
*** no comment ***
Diffstat (limited to 'valexpr.h')
-rw-r--r--valexpr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/valexpr.h b/valexpr.h
index 820ae04f..73d5113e 100644
--- a/valexpr.h
+++ b/valexpr.h
@@ -126,6 +126,8 @@ extern std::auto_ptr<value_expr_t> amount_expr;
extern std::auto_ptr<value_expr_t> total_expr;
extern std::time_t terminus;
+bool compute_amount(value_expr_t * expr, amount_t& amt, transaction_t& xact);
+
inline void compute_amount(value_t& result, const details_t& details) {
if (amount_expr.get())
amount_expr->compute(result, details);