summaryrefslogtreecommitdiff
path: root/pyledger.cc
diff options
context:
space:
mode:
Diffstat (limited to 'pyledger.cc')
-rw-r--r--pyledger.cc39
1 files changed, 2 insertions, 37 deletions
diff --git a/pyledger.cc b/pyledger.cc
index 923d8a88..dc65a4a3 100644
--- a/pyledger.cc
+++ b/pyledger.cc
@@ -2,43 +2,8 @@
using namespace boost::python;
-#include "ledger.h"
-#include "acconf.h"
-
-void export_amount();
-void export_balance();
-void export_value();
-void export_journal();
-void export_parser();
-void export_textual();
-void export_binary();
-void export_qif();
-#ifdef READ_GNUCASH
-void export_gnucash();
-#endif
-void export_option();
-void export_config();
-void export_walk();
-void export_format();
-void export_valexpr();
-void export_datetime();
+void initialize_ledger_for_python();
BOOST_PYTHON_MODULE(ledger) {
- export_amount();
- export_balance();
- export_value();
- export_journal();
- export_parser();
- export_textual();
- export_binary();
- export_qif();
-#ifdef READ_GNUCASH
- export_gnucash();
-#endif
- export_option();
- export_config();
- export_walk();
- export_format();
- export_valexpr();
- export_datetime();
+ initialize_ledger_for_python();
}