Author: Armin Rigo <[email protected]>
Branch:
Changeset: r429:2b1220c47bb8
Date: 2012-06-18 10:49 +0200
http://bitbucket.org/cffi/cffi/changeset/2b1220c47bb8/
Log: If we know it's a 32-bit integer, use directly 'uint32_t'.
diff --git a/demo/xclient.py b/demo/xclient.py
--- a/demo/xclient.py
+++ b/demo/xclient.py
@@ -4,7 +4,7 @@
ffi.cdef("""
typedef ... Display;
-typedef unsigned int Window; /* 32-bit integer */
+typedef uint32_t Window; /* 32-bit integer */
typedef struct { int type; ...; } XEvent;
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit