Christian Heimes
|
e0a2d12ee5
|
Fix test for GCC 3.1+ but not strict ANSI C
|
2013-06-24 15:39:41 +02:00 |
Christian Heimes
|
61dbb00869
|
Issue #16881: Fix Py_ARRAY_LENGTH macro for GCC < 3.1.
|
2013-01-06 16:41:56 +01:00 |
Christian Heimes
|
fd0ddab97b
|
GCC doesn't support typeof in strict ansi mode (e.g. -ansi or -std=c89)
|
2012-09-23 16:15:01 +02:00 |
Antoine Pitrou
|
ca8aa4acf6
|
Issue #15144: Fix possible integer overflow when handling pointers as integer values, by using Py_uintptr_t instead of size_t.
Patch by Serhiy Storchaka.
|
2012-09-20 20:56:47 +02:00 |
Victor Stinner
|
f0ddadcf2e
|
Rename Py_BUILD_ASSERT to Py_BUILD_ASSERT_EXPR
To make it clearer that Py_BUILD_ASSERT_EXPR(cond) cannot be used as
assert(cond).
|
2011-09-29 12:43:18 +02:00 |
Victor Stinner
|
573696a9ca
|
pymacro.h: Inline _Py_ARRAY_LENGTH_CHECK() and add http://ccodearchive.net/
|
2011-09-29 12:12:39 +02:00 |
Victor Stinner
|
dfb866d127
|
Enhance Py_ARRAY_LENGTH(): fail at build time if the argument is not an array
Move other various macros to pymcacro.h
Thanks Rusty Russell for having written these amazing C macros!
|
2011-09-29 01:12:24 +02:00 |