From 07a96bd61e120e2a6d0d2160d82507b73e95cea3 Mon Sep 17 00:00:00 2001 From: Michel Hidalgo Date: Fri, 19 Jun 2020 18:50:35 -0300 Subject: [PATCH] Update rmw_context_fini() docs. Signed-off-by: Michel Hidalgo --- rmw/include/rmw/init.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rmw/include/rmw/init.h b/rmw/include/rmw/init.h index c6788d4f..2c344ead 100644 --- a/rmw/include/rmw/init.h +++ b/rmw/include/rmw/init.h @@ -114,8 +114,6 @@ rmw_shutdown(rmw_context_t * context); /** * The context to be finalized must have been previously initialized with * `rmw_init()`, and then later invalidated with `rmw_shutdown()`. - * If context is `NULL`, then `RMW_RET_INVALID_ARGUMENT` is returned. - * If context is zero-initialized, then `RMW_RET_INVALID_ARGUMENT` is returned. * If context is initialized and valid (`rmw_shutdown()` was not called on it), * then `RMW_RET_INVALID_ARGUMENT` is returned. * @@ -130,6 +128,8 @@ rmw_shutdown(rmw_context_t * context); * * \return `RMW_RET_OK` if the shutdown was completed successfully, or * \return `RMW_RET_INVALID_ARGUMENT` if any arguments are invalid, or + * \return `RMW_RET_INCORRECT_RMW_IMPLEMENTATION` if the implementation + * identifier does not match, or * \return `RMW_RET_ERROR` if an unspecified error occur. */ RMW_PUBLIC