XCB*Id is a variable, not a type: adjust API conventions accordingly.
authorJamey Sharp <jamey@minilop.net>
Mon, 18 Sep 2006 23:52:00 +0000 (16:52 -0700)
committerJamey Sharp <jamey@minilop.net>
Mon, 18 Sep 2006 23:52:00 +0000 (16:52 -0700)
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" . $_;
 }