numpy.i: a SWIG interface file for NumPy — NumPy v2.6.dev0 Manual
First, C/C++ return arguments are limited to a single value. This prevents obtaining dimension information in a general way.If the array is not byte-swapped, return 1. Otherwise, set a Python error and return 0. require_dimensions(). Return type: int.