diff options
author | Josh Triplett <josh@freedesktop.org> | 2006-10-07 00:14:50 -0700 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2006-10-07 00:15:24 -0700 |
commit | 16ec51397e0711526457709605cf6b5ebf00b5e2 (patch) | |
tree | 943d11e0c47d3cccbcb75e12a259a97e630c8cd7 /src/c-client.xsl | |
parent | 7b786bd8f34e67617beda4f952a5a636a370396a (diff) |
Handle "xidunion" instead of "union" for XID unions like DRAWABLE and FONTABLE
Diffstat (limited to 'src/c-client.xsl')
-rw-r--r-- | src/c-client.xsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/c-client.xsl b/src/c-client.xsl index 4a7b50e..9fd9ccc 100644 --- a/src/c-client.xsl +++ b/src/c-client.xsl @@ -270,8 +270,8 @@ authorization from the authors. <xsl:variable name="type-definitions" select="(/xcb|document($search-path)/xcb )[$is-unqualified or @header=$namespace] - /*[((self::struct or self::union - or self::xidtype or self::enum + /*[((self::struct or self::union or self::enum + or self::xidtype or self::xidunion or self::event or self::eventcopy or self::error or self::errorcopy) and @name=$unqualified-type) @@ -403,7 +403,7 @@ authorization from the authors. </xsl:if> </xsl:template> - <xsl:template match="xidtype" mode="pass1"> + <xsl:template match="xidtype|xidunion" mode="pass1"> <typedef oldname="uint32_t" newname="{xcb:xcb-prefix(@name)}_t" /> <iterator ref="{xcb:xcb-prefix(@name)}" /> <iterator-functions ref="{xcb:xcb-prefix(@name)}" /> |