summaryrefslogtreecommitdiff
path: root/journal.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-11-09 07:11:22 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:21 -0400
commite1d0dbf220a5301f6125a1548a380492ad488515 (patch)
treedf7a5de60353d3558b00d21ee83cf01e8da56331 /journal.cc
parent6f4957c8c31395bca44d078972690eb2b3258a8f (diff)
downloadfork-ledger-e1d0dbf220a5301f6125a1548a380492ad488515.tar.gz
fork-ledger-e1d0dbf220a5301f6125a1548a380492ad488515.tar.bz2
fork-ledger-e1d0dbf220a5301f6125a1548a380492ad488515.zip
Restructed the code that it can build and be used as a shared library.
The command-line version is still statically bound in the build process by default (for the sake of speed).
Diffstat (limited to 'journal.cc')
-rw-r--r--journal.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/journal.cc b/journal.cc
index 67cd7f57..5ef8e92d 100644
--- a/journal.cc
+++ b/journal.cc
@@ -728,11 +728,11 @@ EXC_TRANSLATOR(parse_error)
void export_journal()
{
- scope().attr("TRANSACTION_NORMAL") = TRANSACTION_NORMAL;
- scope().attr("TRANSACTION_VIRTUAL") = TRANSACTION_VIRTUAL;
- scope().attr("TRANSACTION_BALANCE") = TRANSACTION_BALANCE;
- scope().attr("TRANSACTION_AUTO") = TRANSACTION_AUTO;
- scope().attr("TRANSACTION_BULK_ALLOC") = TRANSACTION_BULK_ALLOC;
+ scope().attr("TRANSACTION_NORMAL") = TRANSACTION_NORMAL;
+ scope().attr("TRANSACTION_VIRTUAL") = TRANSACTION_VIRTUAL;
+ scope().attr("TRANSACTION_BALANCE") = TRANSACTION_BALANCE;
+ scope().attr("TRANSACTION_AUTO") = TRANSACTION_AUTO;
+ scope().attr("TRANSACTION_BULK_ALLOC") = TRANSACTION_BULK_ALLOC;
class_< transaction_t > ("Transaction")
.def(init<account_t *, amount_t, optional<unsigned int, std::string> >())