/* The purpose of this function is to allow the user to set a breakpoint in _cairo_error() to generate a stack trace for when the user causes cairo to detect an error.  */
static cairo_status_t _cairo_pattern_set_error(cairo_pattern_t *pattern, cairo_status_t status)
/* The purpose of this function is to allow the user to set a breakpoint in _cairo_error() to generate a stack trace for when the user causes cairo to detect an error.  */
static cairo_status_t _cairo_pattern_set_error(cairo_pattern_t *pattern, cairo_status_t status)
{
    if (status == CAIRO_STATUS_SUCCESS)
	return status;
    _cairo_status_set_error (&pattern->status, status);
    return _cairo_error (status);
}