Define ROSIDL_DYNAMIC_TYPESUPPORT_CHECK_RET_FOR_NOT_OK_WITH_CLEANUP
Defined in File macros.h
Define Documentation
-
ROSIDL_DYNAMIC_TYPESUPPORT_CHECK_RET_FOR_NOT_OK_WITH_CLEANUP(statement_with_return_code, cleanup_statement)
Check return code, and if not ok, run a cleanup statement and return the return code.
- Parameters:
statement_with_return_code – [in] The statement to test.
cleanup_statement – [in] The statement to run before returning the non-ok return code.