SList library for C projects

ftech

Tinkerer
Mar 31, 2025
23
25
13
Hello! First of all, a quick introduction about myself as I am new to this forum. I have been active on the 68kmla forums for some time (known as feeef) and decided I would join this forum as well. My name is François. I am a fan of classic Macintosh hardware ans software since my childhood in the 80's and I have a few 68k and PPC Macs that I am using regularly for making graphics, programming or playing retro games.

I have recently built a singly list library to use on a bigger project (that I may talk about later). The need for flexible, resizable lists was important for my current project so I made this lib and decided I would share it with the community. The source code is stored at AmendHub. Please, feel free to use it or contribute to it. Any feedback is welcome.
 
I remember about 3 things from my programming classes, but I remember Linked Lists being very important and useful.
Thanks for posting this!

And welcome to the forum
 
Thanks @bakkus ! The SList project on AmendHub contains a small test app that implements basic unit testing and memory checking. This way, I can make sure that the list functions work as expected and that removing items from the list actually releases the memory. On a Mac with 4MB of RAM (or less) that is quite important.
 
Back