summaryrefslogtreecommitdiff
path: root/src/py_post.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-06 15:35:16 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-06 15:35:16 -0500
commitf03d386013f220e5b88a056c514c20319c83e9e7 (patch)
tree107234c2ca0947fac84be819611ff5c0c610dac6 /src/py_post.cc
parent312d4c5f5339c61253e86cd9ce825370eb4be053 (diff)
parent205639669981f1ab9dc355d07c60c123c4da0ca0 (diff)
downloadfork-ledger-f03d386013f220e5b88a056c514c20319c83e9e7.tar.gz
fork-ledger-f03d386013f220e5b88a056c514c20319c83e9e7.tar.bz2
fork-ledger-f03d386013f220e5b88a056c514c20319c83e9e7.zip
Merge branch 'next'
Diffstat (limited to 'src/py_post.cc')
-rw-r--r--src/py_post.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/py_post.cc b/src/py_post.cc
index 64bdde83..80e7ee52 100644
--- a/src/py_post.cc
+++ b/src/py_post.cc
@@ -169,13 +169,13 @@ void export_post()
.def("has_xdata", &post_t::has_xdata)
.def("clear_xdata", &post_t::clear_xdata)
.def("xdata", py_xdata,
- return_value_policy<reference_existing_object>())
+ return_internal_reference<>())
.def("add_to_value", &post_t::add_to_value)
.def("set_reported_account", &post_t::set_reported_account)
.def("reported_account", py_reported_account,
- return_value_policy<reference_existing_object>())
+ return_internal_reference<>())
;
}