Skip to content

Commit

Permalink
Document return codes correctly
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
  • Loading branch information
ivanpauno committed Jul 17, 2020
1 parent 6b75eec commit ce8161d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rcl/include/rcl/context.h
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ rcl_context_get_instance_id(rcl_context_t * context);
* \param[in] context object from which the domain id should be retrieved.
* \param[out] domain_id output variable where the domain id will be returned.
* \return RCL_RET_INVALID_ARGUMENT if `context` is invalid, or
* RCL_RET_INVALID_ARGUMENT if `domain_id` is `NULL`, or
* RCL_RET_OK if the domain id was correctly retrieved.
* \return RCL_RET_INVALID_ARGUMENT if `domain_id` is `NULL`, or
* \return RCL_RET_OK if the domain id was correctly retrieved.
*/
RCL_PUBLIC
RCL_WARN_UNUSED
Expand Down

0 comments on commit ce8161d

Please sign in to comment.