Define RCL_CHECK_ALLOCATOR_WITH_MSG

Define Documentation

RCL_CHECK_ALLOCATOR_WITH_MSG(allocator, msg, fail_statement)

Check that the given allocator is initialized, or fail with a message.

If the allocator is not initialized, set the error to msg, and run the fail_statement.