Skip to content

Commit

Permalink
also doc that take* can return RMW_RET_BAD_ALLOC
Browse files Browse the repository at this point in the history
  • Loading branch information
wjwwood authored Jun 12, 2018
1 parent 8d0acff commit 35ee9e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rmw/include/rmw/rmw.h
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ rmw_take_with_info(
* \param raw_message the destination in which to store the serialized message
* \param taken boolean flag indicating if a message was taken or not
* \return `RMW_RET_OK` if successful, or
* \return `RMW_RET_BAD_ALLOC` if memory allocation failed, or
* \return `RMW_RET_ERROR` if an unexpected error occurs.
*/
RMW_PUBLIC
Expand All @@ -294,6 +295,7 @@ rmw_take_raw(
* \param raw_message the destination in which to store the serialized message
* \param taken boolean flag indicating if a message was taken or not
* \return `RMW_RET_OK` if successful, or
* \return `RMW_RET_BAD_ALLOC` if memory allocation failed, or
* \return `RMW_RET_ERROR` if an unexpected error occurs.
*/
RMW_PUBLIC
Expand Down

0 comments on commit 35ee9e3

Please sign in to comment.