How would you clean up the example code? I want the example code to be as clean as possible. Also, I must protest that it is C++. The library links against libc, not libstdc++, and the only non-C feature used in the source code is templates.