PySlice_GetIndices method

int PySlice_GetIndices(
  1. Pointer<PyObject> r,
  2. int length,
  3. Pointer<Py_ssize_t> start,
  4. Pointer<Py_ssize_t> stop,
  5. Pointer<Py_ssize_t> step,
)

Implementation

int PySlice_GetIndices(
  ffi.Pointer<PyObject> r,
  int length,
  ffi.Pointer<Py_ssize_t> start,
  ffi.Pointer<Py_ssize_t> stop,
  ffi.Pointer<Py_ssize_t> step,
) {
  return _PySlice_GetIndices(
    r,
    length,
    start,
    stop,
    step,
  );
}