diff --git a/rmw/include/rmw/raw_message.h b/rmw/include/rmw/raw_message.h index 81219a97..c405da9a 100644 --- a/rmw/include/rmw/raw_message.h +++ b/rmw/include/rmw/raw_message.h @@ -61,6 +61,7 @@ rmw_raw_message_init( * * \param msg pointer to the raw message to be cleaned up * \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 @@ -80,6 +81,7 @@ rmw_raw_message_fini(rmw_message_raw_t * msg); * \param msg pointer to the instance of rmw_message_raw_t which is being resized * \param new_size the new size of the internal buffer * \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