PySlice_AdjustIndices method

int PySlice_AdjustIndices(
  1. int length,
  2. Pointer<Py_ssize_t> start,
  3. Pointer<Py_ssize_t> stop,
  4. int step,
)

Implementation

int PySlice_AdjustIndices(
  int length,
  ffi.Pointer<Py_ssize_t> start,
  ffi.Pointer<Py_ssize_t> stop,
  int step,
) {
  return _PySlice_AdjustIndices(
    length,
    start,
    stop,
    step,
  );
}