R – Any library for generic datatypes in C?


I am trying to write a 2d game engine in C (no c++). What are some good libraries that have generic data types I may need – for example queues, trees, maps, lists, and so on?

Best Solution

Take a look at GLib - it has trees, hashmaps, linked lists and queues.

Wikipedia article.