diff options
Diffstat (limited to 'src/py_report.cc')
-rw-r--r-- | src/py_report.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/py_report.cc b/src/py_report.cc new file mode 100644 index 00000000..0bc36857 --- /dev/null +++ b/src/py_report.cc @@ -0,0 +1,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) + ; +} |