summaryrefslogtreecommitdiff
path: root/src/py_journal.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_journal.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_journal.cc')
-rw-r--r--src/py_journal.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/py_journal.cc b/src/py_journal.cc
index cb629f62..5eac9eb0 100644
--- a/src/py_journal.cc
+++ b/src/py_journal.cc
@@ -48,15 +48,18 @@ using namespace boost::python;
namespace {
+#if 0
account_t& py_account_master(journal_t& journal) {
return *journal.master;
}
+#endif
long xacts_len(journal_t& journal)
{
return journal.xacts.size();
}
+#if 0
xact_t& xacts_getitem(journal_t& journal, long i)
{
static long last_index = 0;
@@ -119,6 +122,7 @@ namespace {
return *(*elem).second;
}
+#endif
account_t * py_find_account_1(journal_t& journal, const string& name)
{