Function rosidl_runtime_c__U16String__copy
Defined in File u16string_functions.h
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:
input – [in] a pointer to a rosidl_runtime_c__U16String structure to copy from.
output – [out] a pointer to an initialized rosidl_runtime_c__U16String structure to copy into.
- Returns:
true if successful, false if either pointer is null or memory allocation fails.