summaryrefslogtreecommitdiff
path: root/src/py_balance.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/py_balance.cc')
-rw-r--r--src/py_balance.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/py_balance.cc b/src/py_balance.cc
index 60df1317..73049c99 100644
--- a/src/py_balance.cc
+++ b/src/py_balance.cc
@@ -209,6 +209,8 @@ void export_balance()
.def("commodity_amount", py_commodity_amount_0)
.def("commodity_amount", py_commodity_amount_1)
+ .def("number", &balance_t::number)
+
.def("strip_annotations", &balance_t::strip_annotations)
.def("valid", &balance_t::valid)