WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
zmaxheap.h File Reference
#include <stdio.h>

Go to the source code of this file.

Classes

struct  zmaxheap_iterator
 

Typedefs

typedef struct zmaxheap zmaxheap_t
 
typedef struct zmaxheap_iterator zmaxheap_iterator_t
 

Functions

zmaxheap_tzmaxheap_create (size_t el_sz)
 
void zmaxheap_vmap (zmaxheap_t *heap, void(*f)(void *))
 
void zmaxheap_destroy (zmaxheap_t *heap)
 
void zmaxheap_add (zmaxheap_t *heap, void *p, float v)
 
int zmaxheap_size (zmaxheap_t *heap)
 
int zmaxheap_remove_max (zmaxheap_t *heap, void *p, float *v)
 
void zmaxheap_iterator_init (zmaxheap_t *heap, zmaxheap_iterator_t *it)
 
int zmaxheap_iterator_next (zmaxheap_iterator_t *it, void *p, float *v)
 
int zmaxheap_iterator_next_volatile (zmaxheap_iterator_t *it, void *p, float *v)
 
void zmaxheap_iterator_remove (zmaxheap_iterator_t *it)
 
void zmaxheap_iterator_finish (zmaxheap_iterator_t *it)
 

Typedef Documentation

◆ zmaxheap_iterator_t

◆ zmaxheap_t

typedef struct zmaxheap zmaxheap_t

Function Documentation

◆ zmaxheap_add()

void zmaxheap_add ( zmaxheap_t * heap,
void * p,
float v )

◆ zmaxheap_create()

zmaxheap_t * zmaxheap_create ( size_t el_sz)

◆ zmaxheap_destroy()

void zmaxheap_destroy ( zmaxheap_t * heap)

◆ zmaxheap_iterator_finish()

void zmaxheap_iterator_finish ( zmaxheap_iterator_t * it)

◆ zmaxheap_iterator_init()

void zmaxheap_iterator_init ( zmaxheap_t * heap,
zmaxheap_iterator_t * it )

◆ zmaxheap_iterator_next()

int zmaxheap_iterator_next ( zmaxheap_iterator_t * it,
void * p,
float * v )

◆ zmaxheap_iterator_next_volatile()

int zmaxheap_iterator_next_volatile ( zmaxheap_iterator_t * it,
void * p,
float * v )

◆ zmaxheap_iterator_remove()

void zmaxheap_iterator_remove ( zmaxheap_iterator_t * it)

◆ zmaxheap_remove_max()

int zmaxheap_remove_max ( zmaxheap_t * heap,
void * p,
float * v )

◆ zmaxheap_size()

int zmaxheap_size ( zmaxheap_t * heap)

◆ zmaxheap_vmap()

void zmaxheap_vmap ( zmaxheap_t * heap,
void(* )(void *) )