using void pointers for function pointers in function closures.