summaryrefslogtreecommitdiffstats
path: root/Include/pymacro.h
Commit message (Collapse)AuthorAgeFilesLines
* 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!