diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-27 23:40:46 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-27 23:40:46 -0400 |
commit | 863485ad8ff29399fb9eafd1cfc863c5e8aa27f6 (patch) | |
tree | 153549799e29c0dd0b9e37b9aa86275cb704db34 /python.cc | |
parent | 6c53e9daa38b564a54ae821af550bbe5bbc14459 (diff) | |
download | fork-ledger-863485ad8ff29399fb9eafd1cfc863c5e8aa27f6.tar.gz fork-ledger-863485ad8ff29399fb9eafd1cfc863c5e8aa27f6.tar.bz2 fork-ledger-863485ad8ff29399fb9eafd1cfc863c5e8aa27f6.zip |
added python.cc
Diffstat (limited to 'python.cc')
-rw-r--r-- | python.cc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/python.cc b/python.cc new file mode 100644 index 00000000..9f023447 --- /dev/null +++ b/python.cc @@ -0,0 +1,29 @@ +#include <boost/python.hpp> + +using namespace boost::python; + +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 + +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 +} |