Function rosidl_runtime_c__type_description__Field__Sequence__create

Function Documentation

rosidl_runtime_c__type_description__Field__Sequence *rosidl_runtime_c__type_description__Field__Sequence__create(size_t size)

Create array of msg/Field messages.

It allocates the memory for the array and calls rosidl_runtime_c__type_description__Field__Sequence__init().

Parameters:

size[in] The size / capacity of the array.

Returns:

The pointer to the initialized array if successful, otherwise NULL