projects
/
free-sw
/
xcb
/
proto
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for file descriptor request fields
[free-sw/xcb/proto]
/
xcbgen
/
expr.py
diff --git
a/xcbgen/expr.py
b/xcbgen/expr.py
index
4f8af6f
..
f9d5179
100644
(file)
--- a/
xcbgen/expr.py
+++ b/
xcbgen/expr.py
@@
-13,7
+13,7
@@
class Field(object):
auto is true iff the field is on the wire but not in the request API (e.g. opcode)
enum is the enum name this field refers to, if any.
'''
auto is true iff the field is on the wire but not in the request API (e.g. opcode)
enum is the enum name this field refers to, if any.
'''
- def __init__(self, type, field_type, field_name, visible, wire, auto, enum=None):
+ def __init__(self, type, field_type, field_name, visible, wire, auto, enum=None
, isfd=False
):
self.type = type
self.field_type = field_type
self.field_name = field_name
self.type = type
self.field_type = field_type
self.field_name = field_name
@@
-21,6
+21,7
@@
class Field(object):
self.visible = visible
self.wire = wire
self.auto = auto
self.visible = visible
self.wire = wire
self.auto = auto
+ self.isfd = isfd
class Expression(object):
class Expression(object):