Dumb code generator using XCB C headers and regexes