I see absolutely nothing interesting here, it's just an error management with an error list. I'm pretty sure that I have similar handlers in my own code too.
You can even find this pattern in strerror.c which is handeling errno.h [1]. this is a really old concept.
Comments
I see absolutely nothing interesting here, it's just an error management with an error list. I'm pretty sure that I have similar handlers in my own code too.
You can even find this pattern in strerror.c which is handeling errno.h [1]. this is a really old concept.
[1] http://opensource.apple.com/source/gcc/gcc-926/libiberty/str...