cu
About

The CU Library contains various helper functions and datastructure.

Noteworthy

Most functions for the data structures are defined in generic.h as generic function using the c11 _Generic Macro.

Usage

Compile the library using Makefile provided,

it will generated a approperiate cu.h and a libcu.a in lib Folder.

To use the cu library set -lcu Flag in your project.

#include "cu.h"
void deconstruct() {
}
int main() {
cu_init(deconstruct);
vector_t *v = new(v);
....
}

Module

Following modules are provided: