summaryrefslogtreecommitdiff
path: root/cesar/maximus/python/boost/src/msg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/maximus/python/boost/src/msg.cpp')
-rw-r--r--cesar/maximus/python/boost/src/msg.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cesar/maximus/python/boost/src/msg.cpp b/cesar/maximus/python/boost/src/msg.cpp
index 8dd095b644..54afccfb9e 100644
--- a/cesar/maximus/python/boost/src/msg.cpp
+++ b/cesar/maximus/python/boost/src/msg.cpp
@@ -46,8 +46,10 @@ export_msg ()
bp::with_custodian_and_ward <1, 2> ())
.def ("send_async", &MsgFunctionCall::send_async)
.def ("send_async", &MsgFunctionCall::send_async_2)
- .def ("send", &MsgFunctionCall::send)
- .def ("send", &MsgFunctionCall::send_2)
+ .def ("send", &MsgFunctionCall::send,
+ boost::python::return_internal_reference <>())
+ .def ("send", &MsgFunctionCall::send_2,
+ boost::python::return_internal_reference <>())
.def ("is_param", &MsgFunctionCall::is_param)
.def ("bind_param", &MsgFunctionCall::bind_param_1)
.def ("bind_param_string", &MsgFunctionCall::bind_param_string)