Contains the definition of the FastaBuff_iterator object.
More...
#include "FastaBuff.h"
#include <Python.h>
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
Contains the definition of the FastaBuff_iterator object.
◆ FOREACH_VIEW_ELEMENT
| #define FOREACH_VIEW_ELEMENT |
( |
|
self, |
|
|
|
idx |
|
) |
| for (int64_t idx = self->start; idx < self->stop; idx += self->step) |
◆ VIEW_INDEX_TRANSFORM
| #define VIEW_INDEX_TRANSFORM |
( |
|
i, |
|
|
|
self |
|
) |
| ((i * self->step) + self->start) |
◆ FastaBuff_iterator_initialise()
◆ FastaBuff_view_initialise()
| PyObject * FastaBuff_view_initialise |
( |
FastaBuff_view * |
view, |
|
|
FastaBuff * |
buff, |
|
|
Py_ssize_t |
start, |
|
|
Py_ssize_t |
stop, |
|
|
Py_ssize_t |
step, |
|
|
Py_ssize_t |
slicelength |
|
) |
| |
◆ FastaBuff_iteratorType
| PyTypeObject FastaBuff_iteratorType |
|
extern |
◆ FastaBuff_viewType
| PyTypeObject FastaBuff_viewType |
|
extern |