[Xcb-commit] libxcb: src
Christian Linhart
clinhart at kemper.freedesktop.org
Sun Mar 15 04:23:04 PDT 2015
src/c_client.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit f9f925107e37e0c9a0ed8220ee3a23f584e3b2ec
Author: Ran Benita <ran234 at gmail.com>
Date: Sun Oct 12 21:58:14 2014 +0300
c_client.py: don't add /* <name> */ before references to 'S'
The name can be understood from the type of S already.
For examples, look for 'S->' in xkb.c or xinput.c.
Signed-off-by: Ran Benita <ran234 at gmail.com>
Reviewed-by: Christian Linhart <chris at demorecorder.com>
Reviewed-by: RĂ©mi Cardona <remi at gentoo.org>
diff --git a/src/c_client.py b/src/c_client.py
index 7cc3575..78cc744 100644
--- a/src/c_client.py
+++ b/src/c_client.py
@@ -1833,8 +1833,7 @@ def _c_accessors_list(self, field):
fields.update(_c_helper_field_mapping(toplevel_switch, [('S', '->', toplevel_switch)], flat=True))
# initialize prefix for everything "below" S
- prefix_str = '/* %s */ S' % toplevel_switch.name[-1]
- prefix = [(prefix_str, '->', toplevel_switch)]
+ prefix = [('S', '->', toplevel_switch)]
# look for fields in the remaining containers
for p in parents[2:] + [self]:
@@ -2724,8 +2723,7 @@ def _man_request(self, name, void, aux):
fields.update(_c_helper_field_mapping(toplevel_switch, [('S', '->', toplevel_switch)], flat=True))
# initialize prefix for everything "below" S
- prefix_str = '/* %s */ S' % toplevel_switch.name[-1]
- prefix = [(prefix_str, '->', toplevel_switch)]
+ prefix = [('S', '->', toplevel_switch)]
# look for fields in the remaining containers
for p in parents[2:] + [self]:
More information about the xcb-commit
mailing list