[Xcb-commit] src

Josh Triplett josh at kemper.freedesktop.org
Fri Oct 6 21:13:58 PDT 2006


 src/xproto.xml |   20 +++++---------------
 1 files changed, 5 insertions(+), 15 deletions(-)

New commits:
diff-tree 036019dcab226d70e456c7adc5e79364eb86b72b (from bc21baeacec4b57261dc226f1b108c1c64f4d28a)
Author: Josh Triplett <josh at freedesktop.org>
Date:   Fri Oct 6 21:13:22 2006 -0700

    Replace structures attempting to provide C type safety with CARD32 typedefs

diff --git a/src/xproto.xml b/src/xproto.xml
index 78fa4bf..925169e 100644
--- a/src/xproto.xml
+++ b/src/xproto.xml
@@ -57,25 +57,15 @@ authorization from the authors.
     <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" />


More information about the xcb-commit mailing list