summaryrefslogtreecommitdiff
path: root/xgbgen/xml_fields.go
diff options
context:
space:
mode:
authorAlessandro Arzilli <[email protected]>2022-10-29 21:44:00 +0200
committerMilan Nikolic <[email protected]>2022-10-29 21:44:00 +0200
commit54fbc6f8722629e1bd14c432e9e17499d2925ac7 (patch)
tree325e5c0a0747963e2b9804ee03a577b594731c3f /xgbgen/xml_fields.go
parent7effddcf465f2b8e142c828c90951614922d9b32 (diff)
Changed xgbgen to support xcb-proto >= 1.12
Diffstat (limited to 'xgbgen/xml_fields.go')
-rw-r--r--xgbgen/xml_fields.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/xgbgen/xml_fields.go b/xgbgen/xml_fields.go
index fe6c5d5..8b7b5c7 100644
--- a/xgbgen/xml_fields.go
+++ b/xgbgen/xml_fields.go
@@ -10,6 +10,7 @@ type XMLField struct {
// For 'pad' element
Bytes uint `xml:"bytes,attr"`
+ Align uint16 `xml:"align,attr"`
// For 'field', 'list', 'localfield', 'exprfield' and 'switch' elements.
Name string `xml:"name,attr"`