summaryrefslogtreecommitdiff
path: root/py_report.cc
blob: 0bc36857f66b1fc4b35f72f6c94a315931c272d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
using namespace boost::python;
using namespace ledger;

void export_report()
{
  class_< report_t > ("Report")
    .add_property("session",
		  make_getter(&report_t::session,
			      return_value_policy<reference_existing_object>()))

    .def("apply_transforms", &report_t::apply_transforms)
    ;
}