Define RCUTILS_CHECK_ARGUMENT_FOR_NULL
Defined in File error_handling.h
Define Documentation
-
RCUTILS_CHECK_ARGUMENT_FOR_NULL(argument, error_return_type)
Check an argument for a null value.
If the argument’s value is
NULL
, set the error message saying so and return theerror_return_type
.- Parameters:
argument – [in] The argument to test.
error_return_type – [in] The type to return if the argument is
NULL
.