An open API service indexing awesome lists of open source software.

https://github.com/mp81ss/miniclib

Mini C data-structure library containing vector and list
https://github.com/mp81ss/miniclib

c data-structures header-only list vector

Last synced: about 1 month ago
JSON representation

Mini C data-structure library containing vector and list

Awesome Lists containing this project

README

          

# ARCHIVED - Moved to gitlab

CLibrary is just a dummy data-structure library containing vector and list only.
Both vector and list are 2 single and independent headers.

The list requires dynamic memory, mallocating the nodes, but has some tricks
to make it fast in traversal and memory efficient. Moreover it is safe: All
pointers are NULL-checked and all indexes are checked for out-of-bound errors.

vector is speed oriented, no checks are done and user must check that no NULL
pointers are passed if not explicitly allowed and indexes are in valid range.

See example.c or directly the headers (fully doxygenated), or the help file.

Tested on windows with CLang v11 and VS2019, Linux with gcc v4.8.5
See file cv_bench.c