diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-10 20:07:24 -1000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-17 15:09:32 -0600 |
commit | e7ff3945d5f670a10a6f36acb288471a5dbeb5c8 (patch) | |
tree | 7f11b84936cfe699d941adfa5929efb385b66176 /src/py_amount.cc | |
parent | ed30c9c82d3d1d57edc3fe0ea046964785b2b1c1 (diff) | |
download | fork-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_amount.cc')
-rw-r--r-- | src/py_amount.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/py_amount.cc b/src/py_amount.cc index 0b9e0410..9ce4a02d 100644 --- a/src/py_amount.cc +++ b/src/py_amount.cc @@ -77,6 +77,7 @@ namespace { amount.parse(str, flags); } +#if 0 void py_print(amount_t& amount, object out) { if (PyFile_Check(out.ptr())) { pyofstream outstr(reinterpret_cast<PyFileObject *>(out.ptr())); @@ -86,6 +87,7 @@ namespace { _("Argument to amount.print_(file) is not a file object")); } } +#endif annotation_t& py_amount_annotation(amount_t& amount) { return amount.annotation(); |