SphinxBase 5prealpha
heapnode_s Struct Reference

One node on the heap. More...

Data Fields

void * data
 Application data at this node. More...
 
int32 val
 Associated with above application data; according to which heap is sorted (in ascending order) More...
 
int32 nl
 
int32 nr
 left/right descendants of this node (for balancing heap) More...
 
struct heapnode_sl
 Root of left descendant heap. More...
 
struct heapnode_sr
 Root of right descendant heap. More...
 

Detailed Description

One node on the heap.

Definition at line 77 of file heap.c.

Field Documentation

◆ data

void* heapnode_s::data

Application data at this node.

Definition at line 78 of file heap.c.

◆ l

struct heapnode_s* heapnode_s::l

Root of left descendant heap.

Definition at line 82 of file heap.c.

◆ nl

int32 heapnode_s::nl

Definition at line 81 of file heap.c.

◆ nr

int32 heapnode_s::nr

left/right descendants of this node (for balancing heap)

Definition at line 81 of file heap.c.

◆ r

struct heapnode_s* heapnode_s::r

Root of right descendant heap.

Definition at line 83 of file heap.c.

◆ val

int32 heapnode_s::val

Associated with above application data; according to which heap is sorted (in ascending order)

Definition at line 79 of file heap.c.


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