projects
/
free-sw
/
xcb
/
libxcb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7b786bd
)
Handle "xidunion" instead of "union" for XID unions like DRAWABLE and FONTABLE
author
Josh Triplett
<josh@freedesktop.org>
Sat, 7 Oct 2006 07:14:50 +0000
(
00:14
-0700)
committer
Josh Triplett
<josh@freedesktop.org>
Sat, 7 Oct 2006 07:15:24 +0000
(
00:15
-0700)
src/c-client.xsl
patch
|
blob
|
history
diff --git
a/src/c-client.xsl
b/src/c-client.xsl
index
4a7b50e
..
9fd9ccc
100644
(file)
--- 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]
<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)
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: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)}" />
<typedef oldname="uint32_t" newname="{xcb:xcb-prefix(@name)}_t" />
<iterator ref="{xcb:xcb-prefix(@name)}" />
<iterator-functions ref="{xcb:xcb-prefix(@name)}" />