I needed to use double-linked lists in my app, there is a GList for this, but I can’t use the entire glib.
However, I have encountered the glist code using gslice to work with memory, I would like to avoid this. Can I replace the slice mechanism with regular calls to malloc() and free()? How is this easier to do?
Again, I need to use glist.c and glist.h separate from other code, I only need to replace the use of slices with normal functions.