Add CARD64/INT64 protocol types

Submitted by Matt Turner on March 4, 2017, 7:33 p.m.

Details

Message ID 1488655992-21511-1-git-send-email-mattst88@gmail.com
State New
Series "Add CARD64/INT64 protocol types"
Headers show

Commit Message

Matt Turner March 4, 2017, 7:33 p.m.
The following commit to xcb/proto, included in the 1.9 release, added CARD64
and INT64 types.

    commit 4d8241c67c83957aa0f612da6823db2d18fdd314
    Author: Keith Packard <keithp@keithp.com>
    Date:   Thu Jul 11 15:56:54 2013 -0700

        Add CARD64/INT64 protocol types

Signed-off-by: Matt Turner <mattst88@gmail.com>
---
This at least allows xpyb to compile against libxcb >= 1.9

 src/py_client.py | 2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

diff --git a/src/py_client.py b/src/py_client.py
index 5c83e46..113abd5 100755
--- a/src/py_client.py
+++ b/src/py_client.py
@@ -16,9 +16,11 @@  _py_reserved_words = [ 'None', 'def', 'class', 'and', 'or' ]
 _cardinal_types = {'CARD8':  'B', 'uint8_t': 'B',
                    'CARD16': 'H','uint16_t': 'H',
                    'CARD32': 'I','uint32_t': 'I',
+                   'CARD64': 'L','uint64_t': 'L',
                    'INT8':   'b', 'int8_t':  'b',
                    'INT16':  'h', 'int16_t': 'h',
                    'INT32':  'i', 'int32_t': 'i',
+                   'INT64':  'l', 'int64_t': 'l',
                    'BYTE': 'B',
                    'BOOL': 'B',
                    'char': 'b',

Comments

Matt Turner April 11, 2017, 5:42 p.m.
I don't have commit access to XCB repos. Can someone commit this?
Uli Schlachter April 12, 2017, 5:21 p.m.
On 11.04.2017 19:42, Matt Turner wrote:
> I don't have commit access to XCB repos. Can someone commit this?

Took me a moment to figure out which repro this is against ("thank you"
to debian codesearch for figuring that out), but:

Pushed.

Uli