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!
This commit is contained in:
Victor Stinner 2011-09-29 01:12:24 +02:00
parent 2bdc7f591b
commit dfb866d127
5 changed files with 65 additions and 19 deletions

View file

@ -886,6 +886,10 @@
RelativePath="..\Include\pytime.h"
>
</File>
<File
RelativePath="..\Include\pymacro.h"
>
</File>
<File
RelativePath="..\Include\pymem.h"
>