Sglib is a C library freely inspired by Standard Template Library (STL). It defines generic macros and functions for sorting arrays, manipulating lists, sorted lists, double linked lists, hashed containers, and red-black trees.
Categories
Software DevelopmentLicense
Open Software License 3.0 (OSL3.0), GNU General Public License version 2.0 (GPLv2)Follow Simple Generic Library for C
You Might Also Like
Rate This Project
Login To Rate This Project
User Reviews
-
New users of the library should check the bug list for a couple of important fixes (depending on which features you use).
-
I like the idea macro based templating and the fact that you can use the data structure algorithms on your existing types. However, the singly linked list implementation adds elements onto the head of the list instead of the tail and thus later iteration is effectively in reverse. Perhaps I'm using it wrong?