pycore_hamt.h File Reference

Classes

struct  PyHamtNode
 
struct  PyHamtObject
 
struct  PyHamtIteratorState
 
struct  PyHamtIterator
 

Macros

#define _Py_HAMT_MAX_TREE_DEPTH
 
#define PyHamt_Check(o)
 

Functions

 PyAPI_DATA (PyTypeObject) _PyHamt_Type
 
PyHamtObject_PyHamt_New (void)
 
PyHamtObject_PyHamt_Assoc (PyHamtObject *o, PyObject *key, PyObject *val)
 
PyHamtObject_PyHamt_Without (PyHamtObject *o, PyObject *key)
 
int _PyHamt_Find (PyHamtObject *o, PyObject *key, PyObject **val)
 
int _PyHamt_Eq (PyHamtObject *v, PyHamtObject *w)
 
Py_ssize_t _PyHamt_Len (PyHamtObject *o)
 
PyObject_PyHamt_NewIterKeys (PyHamtObject *o)
 
PyObject_PyHamt_NewIterValues (PyHamtObject *o)
 
PyObject_PyHamt_NewIterItems (PyHamtObject *o)
 
int _PyHamt_Init (void)
 
void _PyHamt_Fini (void)
 

Macro Definition Documentation

◆ _Py_HAMT_MAX_TREE_DEPTH

#define _Py_HAMT_MAX_TREE_DEPTH

◆ PyHamt_Check

#define PyHamt_Check (   o)

Function Documentation

◆ PyAPI_DATA()

PyAPI_DATA ( PyTypeObject  )

◆ _PyHamt_New()

PyHamtObject* _PyHamt_New ( void  )

◆ _PyHamt_Assoc()

PyHamtObject* _PyHamt_Assoc ( PyHamtObject o,
PyObject key,
PyObject val 
)

◆ _PyHamt_Without()

PyHamtObject* _PyHamt_Without ( PyHamtObject o,
PyObject key 
)

◆ _PyHamt_Find()

int _PyHamt_Find ( PyHamtObject o,
PyObject key,
PyObject **  val 
)

◆ _PyHamt_Eq()

int _PyHamt_Eq ( PyHamtObject v,
PyHamtObject w 
)

◆ _PyHamt_Len()

Py_ssize_t _PyHamt_Len ( PyHamtObject o)

◆ _PyHamt_NewIterKeys()

PyObject* _PyHamt_NewIterKeys ( PyHamtObject o)

◆ _PyHamt_NewIterValues()

PyObject* _PyHamt_NewIterValues ( PyHamtObject o)

◆ _PyHamt_NewIterItems()

PyObject* _PyHamt_NewIterItems ( PyHamtObject o)

◆ _PyHamt_Init()

int _PyHamt_Init ( void  )

◆ _PyHamt_Fini()

void _PyHamt_Fini ( void  )