What are you guys using these days to generate bindings?
Writing them by hand is easy if the library doesn't use the preprocessor much. I often do that for simple jobs.
dpp supports preprocessor directives (because it actually does a preprocessor pass).