From 9eea66c6f8182ff396141a7be11837b0a0473a36 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 29 Aug 2004 23:33:22 -0400 Subject: added some more python files --- pyledger.cc | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pyledger.cc (limited to 'pyledger.cc') diff --git a/pyledger.cc b/pyledger.cc new file mode 100644 index 00000000..d469c2f3 --- /dev/null +++ b/pyledger.cc @@ -0,0 +1,34 @@ +#include + +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(); + +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(); +} -- cgit v1.2.3