eccLib 1.1.0
Python library for bioinformatics written in C
|
header for the reader module More...
Go to the source code of this file.
Data Structures | |
struct | reader |
Reader base struct. More... | |
struct | file |
File base struct. More... | |
struct | line_out |
A simple that hold a string, and potentially it's Python parent object. More... | |
Macros | |
#define | BUFFSIZE (1024) |
how big should the line buffer be? | |
Functions | |
void | free_reader (struct reader *self) |
Free the reader object. | |
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 | |
bool | initialize_reader (const struct file *self, struct reader *reader) |
Initialize the reader object based on the file object. | |
line_out | next_line (struct reader *restrict self, bool(*valid)(const char *, size_t)) |
Fetches the next line from the reader object. | |
header for the reader module
#define BUFFSIZE (1024) |
how big should the line buffer be?