Function rosidl_runtime_c__type_description__KeyValue__Sequence__create

Function Documentation

rosidl_runtime_c__type_description__KeyValue__Sequence *rosidl_runtime_c__type_description__KeyValue__Sequence__create(size_t size)

Create array of msg/KeyValue messages.

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

Parameters:

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

Returns:

The pointer to the initialized array if successful, otherwise NULL