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
GNU General Public License version 2.0 (GPLv2), Open Software License 3.0 (OSL3.0)Follow Simple Generic Library for C
Other Useful Business Software
Keep company data safe with Chrome Enterprise
Make AI work your way with Chrome Enterprise. Block unapproved sites and set custom data controls that align with your company's policies.
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?