summaryrefslogtreecommitdiff
path: root/pyledger.cc
blob: d0f2a4be36375a95565ce3c7097b678a78b5f3e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#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();
void export_walk();
void export_format();
void export_valexpr();
void export_datetime();

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_walk();
  export_format();
  export_valexpr();
  export_datetime();
}