projects
/
free-sw
/
xcb
/
proto
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bc21bae
)
Replace structures attempting to provide C type safety with CARD32 typedefs
author
Josh Triplett
<josh@freedesktop.org>
Sat, 7 Oct 2006 04:13:22 +0000
(21:13 -0700)
committer
Josh Triplett
<josh@freedesktop.org>
Sat, 7 Oct 2006 04:13:22 +0000
(21:13 -0700)
src/xproto.xml
patch
|
blob
|
history
diff --git
a/src/xproto.xml
b/src/xproto.xml
index
78fa4bf
..
925169e
100644
(file)
--- a/
src/xproto.xml
+++ b/
src/xproto.xml
@@
-57,25
+57,15
@@
authorization from the authors.
<field type="GCONTEXT" name="gcontext" />
</union>
<field type="GCONTEXT" name="gcontext" />
</union>
- <struct name="VISUALID">
- <field type="CARD32" name="id" />
- </struct>
+ <typedef oldname="CARD32" newname="VISUALID" />
- <struct name="TIMESTAMP">
- <field type="CARD32" name="id" />
- </struct>
+ <typedef oldname="CARD32" newname="TIMESTAMP" />
- <struct name="KEYSYM">
- <field type="CARD32" name="id" />
- </struct>
+ <typedef oldname="CARD32" newname="KEYSYM" />
- <struct name="KEYCODE">
- <field type="CARD8" name="id" />
- </struct>
+ <typedef oldname="CARD32" newname="KEYCODE" />
- <struct name="BUTTON">
- <field type="CARD8" name="id" />
- </struct>
+ <typedef oldname="CARD32" newname="BUTTON" />
<struct name="POINT">
<field type="INT16" name="x" />
<struct name="POINT">
<field type="INT16" name="x" />