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
Other Useful Business Software
Get Avast Free Antivirus | Your top-rated shield against malware and online scams
Our antivirus software scans for security and performance issues and helps you to fix them instantly. It also protects you in real time by analyzing unknown files before they reach your desktop PC or laptop — all for free.
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?