diff options
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); |