typedef void (*voidfunc)(); void somefunc(voidfunc function) { voidfunc func = function; struct wrapper { function(); //does not work fu