summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2017-12-25 10:49:07 -0800
committerGitHub <noreply@github.com>2017-12-25 10:49:07 -0800
commit77ae14230b0ce38cc2c7fee401d7b6aeb2610191 (patch)
tree2d6ace58675aef4596ac32fb5017620594ca1cfc
parent76985dbdd8b141202e539b3b430591f7aa799226 (diff)
parenta29d37803093855d4b59a67cb47e426268bdb135 (diff)
downloadfork-ledger-77ae14230b0ce38cc2c7fee401d7b6aeb2610191.tar.gz
fork-ledger-77ae14230b0ce38cc2c7fee401d7b6aeb2610191.tar.bz2
fork-ledger-77ae14230b0ce38cc2c7fee401d7b6aeb2610191.zip
Merge pull request #502 from kylef/kylef/py-expand_aliases
Expose journal expand_aliases to Python
-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)