Skip to content

Commit

Permalink
rename from introspection_message handles to event_message handles
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
  • Loading branch information
ihasdapie authored and jacobperron committed Sep 29, 2022
1 parent 0e9df6d commit 9b67b48
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ typedef struct rosidl_service_introspection_info_s {
* \param[in] enable_message_payload Whether to enable message payloads in the ServiceEvent message
* \return The built ServiceEvent message. Will return NULL if the message could not be built.
**/
typedef void * (* rosidl_service_introspection_message_create_handle)(
typedef void * (* rosidl_event_message_create_handle)(
const rosidl_service_introspection_info_t * info,
rcutils_allocator_t * allocator,
const void * request_message,
Expand All @@ -68,7 +68,7 @@ typedef void * (* rosidl_service_introspection_message_create_handle)(
* \param[in] event_message The message to destroy.
* \param[in] allocator The allocator to use for deallocating the message.
*/
typedef bool (* rosidl_service_introspection_message_destroy_handle)(
typedef bool (* rosidl_event_message_destroy_handle)(
void * event_message,
rcutils_allocator_t * allocator);

Expand All @@ -82,9 +82,9 @@ struct rosidl_service_type_support_t
/// Pointer to the service type support handler function
rosidl_service_typesupport_handle_function func;
/// Pointer to function to create the introspection message
rosidl_service_introspection_message_create_handle introspection_message_create_handle;
rosidl_event_message_create_handle event_message_create_handle;
/// Pointer to function to finalize the introspection message
rosidl_service_introspection_message_destroy_handle introspection_message_destroy_handle;
rosidl_event_message_destroy_handle event_message_destroy_handle;
/// Service event message typesupport
const rosidl_message_type_support_t * event_typesupport;
};
Expand Down

0 comments on commit 9b67b48

Please sign in to comment.