Contains the definition of the FastaBuff object.
More...
#include <Python.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
Go to the source code of this file.
Contains the definition of the FastaBuff object.
◆ FastaBuff_Check
#define FastaBuff_Check |
( |
|
op | ) |
PyObject_TypeCheck(op, &FastaBuffType) |
Checks if the object is an instance of the FastaBuff type.
- Parameters
-
- Returns
- 1 if the object is an instance of the FastaBuff type, 0 otherwise
◆ FastaBuff_new()
FastaBuff * FastaBuff_new |
( |
uint8_t *restrict |
buff, |
|
|
size_t |
buffSize, |
|
|
size_t |
buffLen, |
|
|
bool |
RNA |
|
) |
| |
Creates a new FastaBuff object.
- Parameters
-
buff | the buffer to use, this will be owned by the FastaBuff object |
buffSize | the size of the buffer |
buffLen | the length of the sequence |
RNA | if true, T will be converted to U |