summaryrefslogtreecommitdiff
path: root/src/pyledger.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/pyledger.cc')
-rw-r--r--src/pyledger.cc43
1 files changed, 2 insertions, 41 deletions
diff --git a/src/pyledger.cc b/src/pyledger.cc
index 4c2cd96e..ebbdc82e 100644
--- a/src/pyledger.cc
+++ b/src/pyledger.cc
@@ -33,49 +33,10 @@
using namespace boost::python;
-namespace ledger {
-
-void export_utils();
-void export_times();
-void export_amount();
-void export_commodity();
-#if 0
-void export_balance();
-void export_value();
-void export_journal();
-void export_parser();
-void export_option();
-void export_walk();
-void export_report();
-void export_format();
-void export_valexpr();
-#endif
-
-void initialize_for_python()
-{
- export_utils();
- export_times();
- export_amount();
- export_commodity();
-#if 0
- export_balance();
- export_value();
- export_journal();
- export_parser();
- export_option();
- export_walk();
- export_format();
- export_report();
- export_valexpr();
-#endif
-}
-
-}
-
ledger::session_t python_session;
-void hello() {
- std::cout << "Hello, world!" << std::endl;
+namespace ledger {
+ extern void initialize_for_python();
}
BOOST_PYTHON_MODULE(ledger)