Comment by binarycrusader
14 years ago
Cool, but it doesn't handle the last example:
void (*signal(int, void (*fp)(int)))(int)
...claims there's a syntax error, and there might be, but I don't know off-hand.
14 years ago
Cool, but it doesn't handle the last example:
void (*signal(int, void (*fp)(int)))(int)
...claims there's a syntax error, and there might be, but I don't know off-hand.
It's confused by the parameter name fp.
This works: