added python.cc
This commit is contained in:
parent
6c53e9daa3
commit
863485ad8f
1 changed files with 29 additions and 0 deletions
29
python.cc
Normal file
29
python.cc
Normal file
|
|
@ -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
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue