summaryrefslogtreecommitdiff
path: root/src/expr.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-05 23:01:41 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-05 23:01:41 -0600
commit8ae2fb87211b2c1a0159480ea6908db2afa20189 (patch)
tree9a20711c1be681b5d016d2420f91aec9531d5196 /src/expr.h
parent7b12b3041dccfb082949a5f1fdbd83396aae4f26 (diff)
downloadfork-ledger-8ae2fb87211b2c1a0159480ea6908db2afa20189.tar.gz
fork-ledger-8ae2fb87211b2c1a0159480ea6908db2afa20189.tar.bz2
fork-ledger-8ae2fb87211b2c1a0159480ea6908db2afa20189.zip
Add support for valuation expressions on commodities
Diffstat (limited to 'src/expr.h')
-rw-r--r--src/expr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/expr.h b/src/expr.h
index e082efa5..ab3487fe 100644
--- a/src/expr.h
+++ b/src/expr.h
@@ -58,6 +58,9 @@ public:
typedef intrusive_ptr<op_t> ptr_op_t;
typedef intrusive_ptr<const op_t> const_ptr_op_t;
+ friend void intrusive_ptr_add_ref(const op_t * op);
+ friend void intrusive_ptr_release(const op_t * op);
+
enum check_expr_kind_t {
EXPR_GENERAL,
EXPR_ASSERTION,