diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-04 09:53:05 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:37 -0400 |
commit | 0214a136c2b21b3cff3dfc94095d2badc3136b1b (patch) | |
tree | 94807dcc6ee60f650f880f5421367847c3b96192 /src/pyledger.cc | |
parent | 6c7e35dc17504c41bb177b3d1327c6b6cee4017d (diff) | |
download | ledger-0214a136c2b21b3cff3dfc94095d2badc3136b1b.tar.gz ledger-0214a136c2b21b3cff3dfc94095d2badc3136b1b.tar.bz2 ledger-0214a136c2b21b3cff3dfc94095d2badc3136b1b.zip |
Work to get Python tests running again.
Diffstat (limited to 'src/pyledger.cc')
-rw-r--r-- | src/pyledger.cc | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/pyledger.cc b/src/pyledger.cc index 688374a6..08e6dbd1 100644 --- a/src/pyledger.cc +++ b/src/pyledger.cc @@ -8,7 +8,6 @@ void export_amount(); #if 0 void export_balance(); void export_value(); - void export_journal(); void export_parser(); void export_option(); @@ -16,8 +15,6 @@ void export_walk(); void export_report(); void export_format(); void export_valexpr(); - -void shutdown_option(); #endif void initialize_for_python() @@ -26,7 +23,6 @@ void initialize_for_python() #if 0 export_balance(); export_value(); - export_journal(); export_parser(); export_option(); @@ -37,18 +33,12 @@ void initialize_for_python() #endif } -void shutdown_for_python() -{ -#if 0 - shutdown_option(); -#endif -} - } ledger::session_t python_session; BOOST_PYTHON_MODULE(ledger) { + ledger::initialize_for_python(); ledger::set_session_context(&python_session); } |