diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-12 14:29:08 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-12 14:29:08 -0500 |
commit | bfd9ecf2af079894f95bac365818c9548f561039 (patch) | |
tree | dce7e13ec7ad8f18bc628efe511d17e94bc3e16d /src/py_post.cc | |
parent | a034435c4287aba7fd32ed63a745e560350c924a (diff) | |
parent | 49a356f2d260ed0cc071ca1aa82027bd325b0b8b (diff) | |
download | fork-ledger-bfd9ecf2af079894f95bac365818c9548f561039.tar.gz fork-ledger-bfd9ecf2af079894f95bac365818c9548f561039.tar.bz2 fork-ledger-bfd9ecf2af079894f95bac365818c9548f561039.zip |
Merge branch 'next'
Diffstat (limited to 'src/py_post.cc')
-rw-r--r-- | src/py_post.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/py_post.cc b/src/py_post.cc index 80e7ee52..8aabea28 100644 --- a/src/py_post.cc +++ b/src/py_post.cc @@ -115,8 +115,10 @@ void export_post() make_getter(&post_t::xdata_t::datetime), make_setter(&post_t::xdata_t::datetime)) .add_property("account", - make_getter(&post_t::xdata_t::account), - make_setter(&post_t::xdata_t::account)) + make_getter(&post_t::xdata_t::account, + return_internal_reference<>()), + make_setter(&post_t::xdata_t::account, + with_custodian_and_ward<1, 2>())) .add_property("sort_values", make_getter(&post_t::xdata_t::sort_values), make_setter(&post_t::xdata_t::sort_values)) |