diff options
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); } |