Skip to content

Commit

Permalink
code style only: wrap after open parenthesis if not in one line (#29)
Browse files Browse the repository at this point in the history
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
  • Loading branch information
dirk-thomas committed Feb 4, 2020
1 parent b1d037b commit 2d3fc13
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ if isinstance(type_, AbstractNestedType):
@[ if isinstance(type_, NamespacedType)]@
const message_type_support_callbacks_t * callbacks =
static_cast<const message_type_support_callbacks_t *>(
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, @(', '.join(type_.namespaced_name()))
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_fastrtps_c, @(', '.join(type_.namespaced_name()))
)()->data);
@[ end if]@
@[ if isinstance(member.type, AbstractNestedType)]@
Expand Down Expand Up @@ -286,7 +287,8 @@ if isinstance(type_, AbstractNestedType):
@[ if isinstance(type_, NamespacedType)]@
const message_type_support_callbacks_t * callbacks =
static_cast<const message_type_support_callbacks_t *>(
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, @(', '.join(type_.namespaced_name()))
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_fastrtps_c, @(', '.join(type_.namespaced_name()))
)()->data);
@[ end if]@
@[ if isinstance(member.type, AbstractNestedType)]@
Expand Down

0 comments on commit 2d3fc13

Please sign in to comment.