eccLib 1.1.0
Python library for bioinformatics written in C
Loading...
Searching...
No Matches
Data Fields
map_tuple Struct Reference

A struct to store a key-value pair. More...

#include <hashmap_ext.h>

Data Fields

PyObject * key
 The Python object containing the key.
 
PyObject * value
 The Python object containing the value.
 

Detailed Description

A struct to store a key-value pair.

This is used to store the two values needed for a Python dict. The functions within this module will allocate memory for these structs and store them in the hashmap

Field Documentation

◆ key

PyObject* map_tuple::key

The Python object containing the key.

Warning
This object should be a held reference, and the key used in the hashmap itself should originate from this object

◆ value

PyObject* map_tuple::value

The Python object containing the value.

Warning
This object should be a held reference

The documentation for this struct was generated from the following file: