Function rosidl_runtime_c__String__Sequence__create
Defined in File string_functions.h
Function Documentation
-
rosidl_runtime_c__String__Sequence *rosidl_runtime_c__String__Sequence__create(size_t size)
Create a rosidl_runtime_c__String__Sequence structure with a specific size.
The string sequence initially has size and capacity equal to the size argument passed to the function. The rosidl_runtime_c__String__Sequence structure should be deallocated using the given function rosidl_runtime_c__String__Sequence__destroy() when it is no longer needed.
- Parameters:
size – [in] of the desired string sequence
- Returns:
a string sequence if initialization was successfully, otherwise NULL.