4 ms·
I'm not an expert, but I was curious too and looked around. Apparently glib is pretty popular, and they just use void* (typedef'd to gpointer) for the type of
by scintill76 12y ago
I'm not an expert, but I was curious too and looked around. Apparently glib is pretty popular, and they just use void* (typedef'd to gpointer) for the type of items in the container: https://developer.gnome.org/glib/2.42/glib-Doubly-Linked-Lists.html#g-list-append https://developer.gnome.org/glib/2.42/glib-Doubly-Linked-Lis...