Generate error constants as XCB_BAD_*, similar to Xlib.

The previous constants remain for compatibility, but should be deprecated.
This commit is contained in:
Ian Osgood 2007-04-13 15:14:12 -07:00
parent f7279d8c8a
commit 158c9b6ba1

View File

@ -449,6 +449,11 @@ authorization from the authors.
</xsl:when>
</xsl:choose>
</xsl:variable>
<xsl:choose>
<xsl:when test="self::error|self::errorcopy">
<constant type="number" name="{xcb:xcb-prefix(concat('Bad', @name))}" value="{@number}" />
</xsl:when>
</xsl:choose>
<constant type="number" name="{xcb:xcb-prefix(@name)}" value="{@number}" />
<xsl:choose>
<xsl:when test="self::event|self::error">