c_client.py: use C99 initializers instead of comments
Signed-off-by: Ran Benita <ran234@gmail.com> Reviewed-by: Christian Linhart <chris@demorecorder.com>
This commit is contained in:
parent
89498d1d45
commit
ec435aebd6
|
@ -2280,10 +2280,10 @@ def _c_request_helper(self, name, cookie_type, void, regular, aux=False, reply_f
|
||||||
|
|
||||||
_c('{')
|
_c('{')
|
||||||
_c(' static const xcb_protocol_request_t xcb_req = {')
|
_c(' static const xcb_protocol_request_t xcb_req = {')
|
||||||
_c(' /* count */ %d,', count)
|
_c(' .count = %d,', count)
|
||||||
_c(' /* ext */ %s,', func_ext_global)
|
_c(' .ext = %s,', func_ext_global)
|
||||||
_c(' /* opcode */ %s,', self.c_request_name.upper())
|
_c(' .opcode = %s,', self.c_request_name.upper())
|
||||||
_c(' /* isvoid */ %d', 1 if void else 0)
|
_c(' .isvoid = %d', 1 if void else 0)
|
||||||
_c(' };')
|
_c(' };')
|
||||||
_c('')
|
_c('')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue