libtcod
Loading...
Searching...
No Matches
heapq.h File Reference

Internal heap queue module. More...

#include <stdbool.h>
#include <stddef.h>
#include "config.h"

Go to the source code of this file.

Classes

struct  TCOD_Heap

Functions

int TCOD_heap_init (struct TCOD_Heap *heap, size_t data_size)
void TCOD_heap_uninit (struct TCOD_Heap *heap)
void TCOD_heap_clear (struct TCOD_Heap *heap)
int TCOD_minheap_push (struct TCOD_Heap *minheap, int priority, const void *data)
void TCOD_minheap_pop (struct TCOD_Heap *minheap, void *out)
void TCOD_minheap_heapify (struct TCOD_Heap *minheap)

Detailed Description

Internal heap queue module.