XCB*Id is a variable, not a type: adjust API conventions accordingly.
[free-sw/xcb/libxcb] / tools / api_conv.pl
index 2e6a1d0..a780ac3 100755 (executable)
@@ -42,7 +42,7 @@ sub convert($$)
 
        return "XCB" . uc($_) if $const;
 
-       $_ .= "_t" unless $fun;
+       $_ .= "_t" unless $fun or /_id$/;
 
        return "xcb" . $_;
 }