Skip to content

Commit

Permalink
One last uncrustify fix for newer uncrustify. (ros2#795)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Signed-off-by: Fahad <fahad.raza@desaysv.com>
  • Loading branch information
clalancette authored and Fahad committed Apr 9, 2024
1 parent c4ec797 commit 7ca4623
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ getitem(const std::array<T, N> & array, const size_t index)
DEFINE_CXX_API_FOR_C_MESSAGE_SEQUENCE_MEMBER( \
RCUTILS_JOIN(C_INTERFACE_NAME(package_name, interface_type, message_name), __Sequence))

// *INDENT-OFF*

/// Defines C++ helper API for a C service.
#define DEFINE_CXX_API_FOR_C_SERVICE(package_name, interface_type, service_name) \
DEFINE_CXX_API_FOR_C_MESSAGE_MEMBER( \
Expand All @@ -201,6 +203,8 @@ getitem(const std::array<T, N> & array, const size_t index)
C_INTERFACE_NAME(package_name, interface_type, RCUTILS_JOIN(service_name, _Response)); \
};

// *INDENT-ON*

// Extra C++ APIs to homogeneize access to rosidl_runtime_c primitives
DEFINE_CXX_API_FOR_C_MESSAGE_MEMBER(rosidl_runtime_c__String)
DEFINE_CXX_API_FOR_C_MESSAGE_MEMBER(rosidl_runtime_c__U16String)
Expand Down

0 comments on commit 7ca4623

Please sign in to comment.