Classes | Typedefs | Functions
zmaxheap.h File Reference
#include <stdio.h>
Include dependency graph for zmaxheap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  zmaxheap_iterator
 

Typedefs

typedef struct zmaxheap_iterator zmaxheap_iterator_t
 
typedef struct zmaxheap zmaxheap_t
 

Functions

void zmaxheap_add (zmaxheap_t *heap, void *p, float v)
 
zmaxheap_tzmaxheap_create (size_t el_sz)
 
void zmaxheap_destroy (zmaxheap_t *heap)
 
void zmaxheap_iterator_finish (zmaxheap_iterator_t *it)
 
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)
 
int zmaxheap_remove_max (zmaxheap_t *heap, void *p, float *v)
 
int zmaxheap_size (zmaxheap_t *heap)
 
void zmaxheap_vmap (zmaxheap_t *heap, void(*f)())
 

Typedef Documentation

Definition at line 40 of file zmaxheap.h.

typedef struct zmaxheap zmaxheap_t

Definition at line 38 of file zmaxheap.h.

Function Documentation

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

Definition at line 139 of file zmaxheap.c.

zmaxheap_t* zmaxheap_create ( size_t  el_sz)

Definition at line 92 of file zmaxheap.c.

void zmaxheap_destroy ( zmaxheap_t heap)

Definition at line 105 of file zmaxheap.c.

void zmaxheap_iterator_finish ( zmaxheap_iterator_t it)

Definition at line 342 of file zmaxheap.c.

void zmaxheap_iterator_init ( zmaxheap_t heap,
zmaxheap_iterator_t it 
)

Definition at line 253 of file zmaxheap.c.

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

Definition at line 261 of file zmaxheap.c.

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

Definition at line 281 of file zmaxheap.c.

void zmaxheap_iterator_remove ( zmaxheap_iterator_t it)

Definition at line 301 of file zmaxheap.c.

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

Definition at line 248 of file zmaxheap.c.

int zmaxheap_size ( zmaxheap_t heap)

Definition at line 113 of file zmaxheap.c.

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

Definition at line 166 of file zmaxheap.c.



apriltags2
Author(s): Danylo Malyuta
autogenerated on Fri Oct 19 2018 04:02:33