Function rosidl_runtime_c__String__copy

Function Documentation

bool rosidl_runtime_c__String__copy(const rosidl_runtime_c__String *input, rosidl_runtime_c__String *output)

Copy rosidl_runtime_c__String 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.