summaryrefslogtreecommitdiff
path: root/pyledger.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-29 23:33:22 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-29 23:33:22 -0400
commit9eea66c6f8182ff396141a7be11837b0a0473a36 (patch)
tree852ab529ef2a3750f02490d06b28acc7aa8c6a84 /pyledger.cc
parent63367e3aac062a7b55a3ba5c36a6c7fffbb6e2cc (diff)
downloadfork-ledger-9eea66c6f8182ff396141a7be11837b0a0473a36.tar.gz
fork-ledger-9eea66c6f8182ff396141a7be11837b0a0473a36.tar.bz2
fork-ledger-9eea66c6f8182ff396141a7be11837b0a0473a36.zip
added some more python files
Diffstat (limited to 'pyledger.cc')
-rw-r--r--pyledger.cc34
1 files changed, 34 insertions, 0 deletions
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 <boost/python.hpp>
+
+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();
+}