The `int` is probably OK, but `npy_intp` might be better.