MCPcopy Create free account
hub / github.com/KentBeck/BPlusTree3 / BPlusTree_dealloc

Function BPlusTree_dealloc

python/bplustree_c_src/bplustree_module.c:67–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void
68BPlusTree_dealloc(BPlusTree *self) {
69 PyObject_GC_UnTrack(self);
70 BPlusTree_clear(self);
71 if (self->root) {
72 node_destroy(self->root);
73 }
74 PyObject_GC_Del(self);
75}
76
77PyObject *
78BPlusTree_getitem(BPlusTree *self, PyObject *key) {

Callers

nothing calls this directly

Calls 2

BPlusTree_clearFunction · 0.85
node_destroyFunction · 0.85

Tested by

no test coverage detected