(ab)Using function pointers and void pointers to achieve truly generic functions in C
Posted in Software, Uncategorized on Jul 9th, 2010
This has got to be some of the strangest code I have ever written. I was recently working on my implementation of a Finite State Machine engine in C, when I decided that I really wanted a way to pass both a function pointer (easy), and a list of arguments that could be passed to [...]