Function rosidl_runtime_c__U16String__Sequence__create

Function Documentation

rosidl_runtime_c__U16String__Sequence *rosidl_runtime_c__U16String__Sequence__create(size_t size)

Create a U16 string sequence structure with a specific size.

The U16 string sequence initially has size and capacity equal to the size argument. The U16 string sequence structure should be deallocated using the given function rosidl_runtime_c__U16String__Sequence__destroy() when it is no longer needed.

Parameters:

size[in] of the desired U16 string sequence

Returns:

a U16 string sequence if initialization was successfully, otherwise NULL.