[pypy-commit] cffi default: If we know it's a 32-bit integer, use directly 'uint32_t'.
arigo
noreply at buildbot.pypy.org
Mon Jun 18 10:49:49 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
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;
More information about the pypy-commit
mailing list