eccLib 1.1.0
Python library for bioinformatics written in C
|
Implementation for the reader module. More...
Functions | |
PyObject * | file_enter (struct file *self, PyObject *args) |
enter method for file objects | |
PyObject * | file_exit (struct file *self, PyObject *args, PyObject *kwds) |
exit method for file objects | |
void | free_reader (struct reader *self) |
Free the reader object. | |
bool | initialize_reader (const struct file *self, struct reader *reader) |
Initialize the reader object based on the file object. | |
static bool | fetch_py (struct reader *restrict self, line_out *out) |
line_out | next_line (struct reader *restrict self, bool(*valid)(const char *, size_t)) |
Fetches the next line from the reader object. | |
Implementation for the reader module.