summaryrefslogtreecommitdiff
path: root/valexpr.h
diff options
context:
space:
mode:
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);