PostgreSQL Source Code  git master
binaryheap Struct Reference

#include <binaryheap.h>

Data Fields

int bh_size
 
int bh_space
 
bool bh_has_heap_property
 
binaryheap_comparator bh_compare
 
void * bh_arg
 
bh_node_type bh_nodes [FLEXIBLE_ARRAY_MEMBER]
 

Detailed Description

Definition at line 42 of file binaryheap.h.

Field Documentation

◆ bh_arg

void* binaryheap::bh_arg

Definition at line 48 of file binaryheap.h.

Referenced by binaryheap_allocate(), binaryheap_remove_node(), sift_down(), and sift_up().

◆ bh_compare

binaryheap_comparator binaryheap::bh_compare

Definition at line 47 of file binaryheap.h.

Referenced by binaryheap_allocate(), binaryheap_remove_node(), sift_down(), and sift_up().

◆ bh_has_heap_property

◆ bh_nodes

◆ bh_size

◆ bh_space

int binaryheap::bh_space

Definition at line 45 of file binaryheap.h.

Referenced by binaryheap_add(), binaryheap_add_unordered(), and binaryheap_allocate().


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