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
 
Datum bh_nodes [FLEXIBLE_ARRAY_MEMBER]
 

Detailed Description

Definition at line 30 of file binaryheap.h.

Field Documentation

◆ bh_arg

void* binaryheap::bh_arg

Definition at line 36 of file binaryheap.h.

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

◆ bh_compare

binaryheap_comparator binaryheap::bh_compare

Definition at line 35 of file binaryheap.h.

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

◆ bh_has_heap_property

◆ bh_nodes

Datum binaryheap::bh_nodes[FLEXIBLE_ARRAY_MEMBER]

◆ bh_size

◆ bh_space

int binaryheap::bh_space

Definition at line 33 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: