* Returns 1 if the dimension names pointed by s1 and s2 are the same, * otherwise returns 0. */
| 610 | * otherwise returns 0. |
| 611 | */ |
| 612 | static int |
| 613 | _is_same_name(const char* s1, const char* s2) |
| 614 | { |
| 615 | while (_is_alnum_underscore(*s1) && _is_alnum_underscore(*s2)) { |
| 616 | if (*s1 != *s2) { |
| 617 | return 0; |
| 618 | } |
| 619 | s1++; |
| 620 | s2++; |
| 621 | } |
| 622 | return !_is_alnum_underscore(*s1) && !_is_alnum_underscore(*s2); |
| 623 | } |
| 624 | |
| 625 | /* |
| 626 | * Sets the following fields in the PyUFuncObject 'ufunc': |
no test coverage detected