Function rcutils_allocator_is_valid

Function Documentation

bool rcutils_allocator_is_valid(const rcutils_allocator_t *allocator)

Return true if the given allocator has non-null function pointers.

Parameters:

allocator[in] to be checked by the function

Returns:

true if the allocator is valid, false otherwise.