diff --git a/rosidl_typesupport_fastrtps_c/resource/msg__type_support_c.cpp.em b/rosidl_typesupport_fastrtps_c/resource/msg__type_support_c.cpp.em index 179e626..2b2b952 100644 --- a/rosidl_typesupport_fastrtps_c/resource/msg__type_support_c.cpp.em +++ b/rosidl_typesupport_fastrtps_c/resource/msg__type_support_c.cpp.em @@ -167,7 +167,8 @@ if isinstance(type_, AbstractNestedType): @[ if isinstance(type_, NamespacedType)]@ const message_type_support_callbacks_t * callbacks = static_cast( - 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)]@ @@ -286,7 +287,8 @@ if isinstance(type_, AbstractNestedType): @[ if isinstance(type_, NamespacedType)]@ const message_type_support_callbacks_t * callbacks = static_cast( - 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)]@