Sglib is a generic library for C. The initial release contains
algorithms for sorting arrays, manipulating lists, sorted lists and
red-black trees. The design of the library results from experiences
with generic programming and from knowledge of the C preprocessor. The
idea is to extensively use the preprocessor to imitate generic
constructions known from other languages.