the dwt-linux project contains also the cairo bindings. What is special about them is, that all struct sizes are verified too match them in C. See dwt/internal/c