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