Function rosidl_runtime_c__U16String__copy

Function Documentation

bool rosidl_runtime_c__U16String__copy(const rosidl_runtime_c__U16String *input, rosidl_runtime_c__U16String *output)

Copy rosidl_runtime_c__U16String structure content.

This functions performs a deep copy, as opposed to the shallow copy that plain assignment yields.

Parameters:
Returns:

true if successful, false if either pointer is null or memory allocation fails.