241LASS_PYTHON_DLL Py_ssize_t
adjustIndex(Py_ssize_t index, Py_ssize_t sequenceLength);
271LASS_PYTHON_DLL
bool adjustIndexEx(Py_ssize_t *index, Py_ssize_t sequenceLength);
Py_ssize_t adjustIndex(Py_ssize_t index, Py_ssize_t sequenceLength)
Helper to adjust negative sequence indices.
bool adjustIndexEx(Py_ssize_t *index, Py_ssize_t sequenceLength)
Helper to adjust negative sequence indices.
Comprehensive C++ to Python binding library.
Helper type to get or return Python slice objects.
Py_ssize_t adjustIndices(Py_ssize_t sequenceLength)
Adjust start and stop for actual sequence length, returning slice length.
Py_ssize_t step
step size of slice.
Py_ssize_t start
start index of slice. Always the index of a valid iterator after calling adjustIndices()
Py_ssize_t stop
stop index of slice. Can be -1 if step < 0! It's not guaranteed that stop == start + sliceLength * st...