cgds.git
descriptionC generic data structures library
last changeMon, 29 Jan 2018 20:07:45 +0000 (21:07 +0100)

cgds: C Generic Data Structures library

Various data structures, from stack to tree, which can contain any data type.

Installation

make [src]
make install

‘src’ is Makefile default target.

Example

Vector* v = vector_new(int);
vector_push(v, 32);
vector_push(v, 42);
int a; vector_get(v, 1, a); //a now contains 42
vector_set(v, 0, 0); //v[0] now contains 0
vector_destroy(v);

More examples in the unit tests under test/ folder.

shortlog
2018-01-29 Benjamin Audercosmetics master
2018-01-29 Benjamin AuderSimplify installation procedure
2017-12-16 Benjamin AuderFix typo + cosmetics
2017-03-23 Benjamin AuderMerge branch 'master' of auder.net:cgds
2017-03-23 Benjamin Auder'update'
2017-03-18 Benjamin Auderfix typo in README
2016-12-13 Benjamin Auderupdate
2016-10-20 Benjamin Auderversion 1.0
2016-07-22 Benjamin Auderfix typo in readme
2016-07-22 Benjamin Auderfix markdowné
2016-07-22 Benjamin Auder'update'
2016-07-22 Benjamin Auder'update'
2016-07-22 Benjamin Auderchange README from html to markdown
2015-05-15 Benjamin Auderfix Queue tests issue by returning to List implementation
2015-05-15 Benjamin Auderfixed mistake in test/makemain.sh ; still vector_pop_fi...
2015-05-15 Benjamin Auderremove FTEST marker in test files
...
heads
2 years ago master