summaryrefslogtreecommitdiff
path: root/src/py_journal.cc
diff options
context:
space:
mode:
authorKyle Fuller <kyle@fuller.li>2017-12-24 19:06:06 -0800
committerKyle Fuller <kyle@fuller.li>2017-12-24 19:06:06 -0800
commita29d37803093855d4b59a67cb47e426268bdb135 (patch)
tree2d6ace58675aef4596ac32fb5017620594ca1cfc /src/py_journal.cc
parent76985dbdd8b141202e539b3b430591f7aa799226 (diff)
downloadfork-ledger-a29d37803093855d4b59a67cb47e426268bdb135.tar.gz
fork-ledger-a29d37803093855d4b59a67cb47e426268bdb135.tar.bz2
fork-ledger-a29d37803093855d4b59a67cb47e426268bdb135.zip
Expose journal expand_aliases to Python
Diffstat (limited to 'src/py_journal.cc')
-rw-r--r--src/py_journal.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/py_journal.cc b/src/py_journal.cc
index ac923cca..fbc6dd2d 100644
--- a/src/py_journal.cc
+++ b/src/py_journal.cc
@@ -286,6 +286,10 @@ void export_journal()
return_internal_reference<1,
with_custodian_and_ward_postcall<1, 0> >())
+ .def("expand_aliases", &journal_t::expand_aliases,
+ return_internal_reference<1,
+ with_custodian_and_ward_postcall<1, 0> >())
+
.def("add_xact", &journal_t::add_xact)
.def("remove_xact", &journal_t::remove_xact)