diff options
author | John Wiegley <johnw@newartisans.com> | 2006-02-25 12:02:11 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:26 -0400 |
commit | 88a895a4944efcae0f7dbc7e7d73bef817cd317e (patch) | |
tree | 1b9ec62b7efe0574f4210c4d1e76e3c133e3499d /valexpr.h | |
parent | 0dc7584810d4a1c3d619a06f64e2ca55a9375d2c (diff) | |
download | fork-ledger-88a895a4944efcae0f7dbc7e7d73bef817cd317e.tar.gz fork-ledger-88a895a4944efcae0f7dbc7e7d73bef817cd317e.tar.bz2 fork-ledger-88a895a4944efcae0f7dbc7e7d73bef817cd317e.zip |
*** no comment ***
Diffstat (limited to 'valexpr.h')
-rw-r--r-- | valexpr.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |