Closed TobleMiner closed 6 years ago
Would be nice if arguments passed to functions could still use aliased types (macro or typedef'd) so that it's more easy to see which kind of list to provide (still not entirely typesafe, but would somewhat help).
Yeah that would make a lot of sense. I'll add some typedefs.
All the custom list structs can be replaced by a list_head member in the corresponding list entry types.
DISCLAIMER: This patch is somewhat untested