summaryrefslogtreecommitdiffstats
path: root/Include/pymacro.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix test for GCC 3.1+ but not strict ANSI CChristian Heimes2013-06-241-1/+1
|
* Issue #16881: Fix Py_ARRAY_LENGTH macro for GCC < 3.1.Christian Heimes2013-01-061-2/+5
|
* GCC doesn't support typeof in strict ansi mode (e.g. -ansi or -std=c89)Christian Heimes2012-09-231-1/+1
|
* Issue #15144: Fix possible integer overflow when handling pointers as ↵Antoine Pitrou2012-09-201-0/+14
| | | | | | integer values, by using Py_uintptr_t instead of size_t. Patch by Serhiy Storchaka.
* Rename Py_BUILD_ASSERT to Py_BUILD_ASSERT_EXPRVictor Stinner2011-09-291-6/+5
| | | | | To make it clearer that Py_BUILD_ASSERT_EXPR(cond) cannot be used as assert(cond).
* pymacro.h: Inline _Py_ARRAY_LENGTH_CHECK() and add http://ccodearchive.net/Victor Stinner2011-09-291-13/+12
|
* Enhance Py_ARRAY_LENGTH(): fail at build time if the argument is not an arrayVictor Stinner2011-09-281-0/+57
Move other various macros to pymcacro.h Thanks Rusty Russell for having written these amazing C macros!