Function rosidl_runtime_c__type_description__KeyValue__Sequence__copy
Defined in File key_value__functions.h
Function Documentation
-
bool rosidl_runtime_c__type_description__KeyValue__Sequence__copy(const rosidl_runtime_c__type_description__KeyValue__Sequence *input, rosidl_runtime_c__type_description__KeyValue__Sequence *output)
Copy an array of msg/KeyValue messages.
This functions performs a deep copy, as opposed to the shallow copy that plain assignment yields.
- Parameters:
input – [in] The source array pointer.
output – [out] The target array pointer, which must have been initialized before calling this function.
- Returns:
true if successful, or false if either pointer is null or memory allocation fails.