Defines the GtfDict object interface.
More...
#include <Python.h>
#include "../hashmap_ext.h"
Go to the source code of this file.
Defines the GtfDict object interface.
◆ GtfDict_check
#define GtfDict_check |
( |
|
o | ) |
PyType_IsSubtype(Py_TYPE(o), &GtfDictType) |
Checks if the object can be interpreted as a GtfDict.
- Parameters
-
- Returns
- true if the object can be interpreted as a GtfDict, false otherwise
◆ GtfDict_containsValue()
int GtfDict_containsValue |
( |
GtfDict * |
self, |
|
|
PyObject * |
other |
|
) |
| |
Internal function for checking if the other dict is contained within self. Linked as contains and contains()
- Parameters
-
self | |
other | the other object that might be contained |
- Returns
- C bool describing
- See also
- GtfDict_contains
◆ GtfDictToGTF()
char * GtfDictToGTF |
( |
GtfDict * |
self, |
|
|
size_t * |
len |
|
) |
| |
Generates a valid GTF line based on the GtfDict.
- Parameters
-
self | |
len | NULL or pointer to result length output |
- Returns
- valid GTF line string
- See also
- GtfDict_str