Projects / Sglib

Sglib

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
Licenses
Operating Systems
Implementation

Recent releases

  •  06 Feb 2007 19:10

    Release Notes: This release fixes problems with overflow of the numeric comparator.

    •  18 Jul 2005 11:52

      Release Notes: This release enhances license conditions so that the library can be freely used in any commercial project.

      •  11 Apr 2005 15:41

        Release Notes: This release fixes the problem which occurred when the macro concatenating double linked lists received an empty list as its parameter.

        •  17 Sep 2004 10:42

          Release Notes: The default red-black tree iterator ow runs in post order. This fixed possible problems with freeing the tree inside a cycle.

          •  16 Sep 2004 18:25

            Release Notes: This release implements iterators over all container data structures.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.