[Xcb] [PATCH libxcb 1/1] Adding accessors for requests

Jaya Tiwari tiwari.jaya18 at gmail.com
Thu Jan 22 09:16:33 PST 2015


Added accessor functions for requests the same way they were added for
structs,events and replies.
Lists for replies have accessor functions now.

Signed-off-by: Jaya Tiwari <tiwari.jaya18 at gmail.com>
---
 src/c_client.py | 444
++++++++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 386 insertions(+), 58 deletions(-)

diff --git a/src/c_client.py b/src/c_client.py
index 56a1766..8a2900c 100644
--- a/src/c_client.py
+++ b/src/c_client.py

@@ -3136,6 +3136,8 @@ def c_request(self, name):
         _c_request_helper(self, name, 'xcb_void_cookie_t', True, True)
         if self.c_need_aux:
             _c_request_helper(self, name, 'xcb_void_cookie_t', True,
False, True)
+            _c_request_helper(self, name, 'xcb_void_cookie_t', True, True,
True)
+        _c_accessors(self, name, name)

     # We generate the manpage afterwards because _c_type_setup has been
called.
     # TODO: what about aux helpers?


-- 
Regards,
Jaya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20150122/4bae0da3/attachment.html>


More information about the Xcb mailing list