|
C Everything
This is a C repository containing a curated set of generic data structures and algorithm.
|
Contains declations of heap types, operations and structure. More...
#include "common.h"Go to the source code of this file.
Data Structures | |
| struct | heap |
| Heap struct defn. More... | |
Typedefs | |
| typedef t_gen(* | f_update) (t_gen d, t_gen val, int idx) |
| heapf update key fn defn More... | |
| typedef struct heap | t_heap |
| Heap struct defn. More... | |
Enumerations | |
| enum | e_heaptype { eMIN_HEAP , eMAX_HEAP } |
| Types of heaps. More... | |
Functions | |
| t_gen | create_heap (char *name, t_gen data, int size, e_heaptype htype, t_dparams *prm) |
Create an instance of heap More... | |
Contains declations of heap types, operations and structure.
Definition in file heap.h.
| enum e_heaptype |
| t_gen create_heap | ( | char * | name, |
| t_gen | data, | ||
| int | size, | ||
| e_heaptype | htype, | ||
| t_dparams * | prm | ||
| ) |