summaryrefslogtreecommitdiff
path: root/src/py_balance.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-10 20:07:24 -1000
committerJohn Wiegley <johnw@newartisans.com>2012-02-17 15:09:32 -0600
commite7ff3945d5f670a10a6f36acb288471a5dbeb5c8 (patch)
tree7f11b84936cfe699d941adfa5929efb385b66176 /src/py_balance.cc
parented30c9c82d3d1d57edc3fe0ea046964785b2b1c1 (diff)
downloadfork-ledger-e7ff3945d5f670a10a6f36acb288471a5dbeb5c8.tar.gz
fork-ledger-e7ff3945d5f670a10a6f36acb288471a5dbeb5c8.tar.bz2
fork-ledger-e7ff3945d5f670a10a6f36acb288471a5dbeb5c8.zip
#if 0'd some unused Python bridge code
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();