diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2019-02-05 08:27:25 -0500 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2019-02-05 08:27:25 -0500 |
commit | 0bbb976ee3064ff59b319e30fd97e31020259760 (patch) | |
tree | 5d13986511c18d911b0d1b2dc498b0f81d3a3b0e /src/py_post.cc | |
parent | 9de94d4adb7a566af38814f9d37e26c559b68b4f (diff) | |
parent | 7a5871d3b53e66ee261bea4b41512e99269b18b1 (diff) | |
download | ledger-0bbb976ee3064ff59b319e30fd97e31020259760.tar.gz ledger-0bbb976ee3064ff59b319e30fd97e31020259760.tar.bz2 ledger-0bbb976ee3064ff59b319e30fd97e31020259760.zip |
Merge branch 'next' into release/3.1.2
Diffstat (limited to 'src/py_post.cc')
-rw-r--r-- | src/py_post.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/py_post.cc b/src/py_post.cc index 6195570b..525b47c2 100644 --- a/src/py_post.cc +++ b/src/py_post.cc @@ -153,6 +153,11 @@ void export_post() return_value_policy<return_by_value>()), make_setter(&post_t::cost, return_value_policy<return_by_value>())) + .add_property("given_cost", + make_getter(&post_t::given_cost, + return_value_policy<return_by_value>()), + make_setter(&post_t::given_cost, + return_value_policy<return_by_value>())) .add_property("assigned_amount", make_getter(&post_t::assigned_amount, return_value_policy<return_by_value>()), |