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 540b3221..e86217b5 100644
--- a/src/py_balance.cc
+++ b/src/py_balance.cc
@@ -68,6 +68,7 @@ namespace {
return balance.commodity_amount(commodity);
}
+#if 0
void py_print(balance_t& balance, object out) {
if (PyFile_Check(out.ptr())) {
pyofstream outstr(reinterpret_cast<PyFileObject *>(out.ptr()));
@@ -77,6 +78,7 @@ namespace {
_("Argument to balance.print_(file) is not a file object"));
}
}
+#endif
long balance_len(balance_t& bal) {
return bal.amounts.size();