Skip to content

Commit

Permalink
Change fini to destroy
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <methylDragon@gmail.com>
  • Loading branch information
methylDragon committed Apr 4, 2023
1 parent dd7b5a1 commit 9dde04c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rcl/include/rcl/dynamic_message_type_support.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ rcl_dynamic_message_type_support_handle_init(
RCL_PUBLIC
RCL_WARN_UNUSED
rcl_ret_t
rcl_dynamic_message_type_support_handle_fini(rosidl_message_type_support_t * ts);
rcl_dynamic_message_type_support_handle_destroy(rosidl_message_type_support_t * ts);


#ifdef __cplusplus
Expand Down
4 changes: 2 additions & 2 deletions rcl/src/rcl/dynamic_message_type_support.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ rcl_dynamic_message_type_support_handle_init(
RCL_PUBLIC
RCL_WARN_UNUSED
rcl_ret_t
rcl_dynamic_message_type_support_handle_fini(rosidl_message_type_support_t * ts)
rcl_dynamic_message_type_support_handle_destroy(rosidl_message_type_support_t * ts)
{
RCL_CHECK_ARGUMENT_FOR_NULL(ts, RCL_RET_INVALID_ARGUMENT);
return rcl_convert_rmw_ret_to_rcl_ret(rmw_dynamic_message_type_support_handle_fini(ts));
return rcl_convert_rmw_ret_to_rcl_ret(rmw_dynamic_message_type_support_handle_destroy(ts));
}

#ifdef __cplusplus
Expand Down

0 comments on commit 9dde04c

Please sign in to comment.