Function rosidl_runtime_c__String__resize

Function Documentation

bool rosidl_runtime_c__String__resize(rosidl_runtime_c__String *str, size_t n)

Resize the char pointer.

This function resize the input value pointer.

Parameters:
Returns:

true if successful, false if the passed string pointer is null or if the size is higher than SIZE_MAX or if the memory reallocation failed.