summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2017-03-04 11:33:12 -0800
committerUli Schlachter <psychon@znc.in>2017-04-12 19:20:20 +0200
commit56d56615db00445679fde3742fc72c793a982d2e (patch)
treed90f7c71aa2e3be2294d4fbcc6cb39119f03b8fc
parented0147e182cc739ae77c34675080e14d498492b2 (diff)
Add CARD64/INT64 protocol types
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> Signed-off-by: Uli Schlachter <psychon@znc.in>
-rwxr-xr-xsrc/py_client.py2
1 files changed, 2 insertions, 0 deletions
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',