How does one idiomatically “pop” from the start of a singly-linked list in GLib? There are several functions that can be glued together but don’t stand out as the intended inverse of g_slist_prepend.
How does one idiomatically pop from the start of a singly-linked list in GLib
Share
Depending on your use case, either
or