Sglib is a generic library for C that was inspired by the Standard Template Library from C++. It consists of a single header file and no binary code. It defines useful macros for sorting arrays and manipulating lists, sorted lists, double linked lists, hashed containers, and red-black trees. Macros are parametrized by the type of the data structure. The library does not enforce its own data representation, but acts on user-defined types. It does not enforce any particular memory management system.
|Tags||Software Development Pre-processors Libraries|
|Licenses||Public Domain Open Software|
|Operating Systems||OS Independent|
Release Notes: This release fixes problems with overflow of the numeric comparator.
Release Notes: This release enhances license conditions so that the library can be freely used in any commercial project.
Release Notes: This release fixes the problem which occurred when the macro concatenating double linked lists received an empty list as its parameter.
Release Notes: The default red-black tree iterator ow runs in post order. This fixed possible problems with freeing the tree inside a cycle.
Release Notes: This release implements iterators over all container data structures.