[pypy-commit] pypy default: add more macros (tests?)
mattip
noreply at buildbot.pypy.org
Mon May 5 09:03:55 CEST 2014
Author: mattip <matti.picus at gmail.com>
Branch:
Changeset: r71274:5ceef23a14b8
Date: 2014-05-05 10:03 +0300
http://bitbucket.org/pypy/pypy/changeset/5ceef23a14b8/
Log: add more macros (tests?)
diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py
--- a/pypy/module/cpyext/api.py
+++ b/pypy/module/cpyext/api.py
@@ -902,7 +902,9 @@
("SIZEOF_TIME_T", rffi.TIME_T),
("SIZEOF_LONG", rffi.LONG),
("SIZEOF_SHORT", rffi.SHORT),
- ("SIZEOF_INT", rffi.INT)
+ ("SIZEOF_INT", rffi.INT),
+ ("SIZEOF_FLOAT", rffi.FLOAT),
+ ("SIZEOF_DOUBLE", rffi.DOUBLE),
]:
pypy_macros.append("#define %s %s" % (macro_name, rffi.sizeof(size)))
pypy_macros.append('')
More information about the pypy-commit
mailing list