introduce CYTHON_UNUSED macro to annotate functions and parametes
authorLisandro Dalcin <dalcinl@gmail.com>
Wed, 28 Apr 2010 19:18:43 +0000 (16:18 -0300)
committerLisandro Dalcin <dalcinl@gmail.com>
Wed, 28 Apr 2010 19:18:43 +0000 (16:18 -0300)
commit6cc61605a91c8ebf16318a07439a206118d81614
tree16a63900e57e2f47edf3520a8e15b61aa9b9908b
parentf31aac146e865dc27c4b378d29db7570a5a9e33a
introduce CYTHON_UNUSED macro to annotate functions and parametes
- Silent compiler warnings about unused function/parametes
- Defined to __attribute__((__unused__)) for GCC(>3.4) and ICC
- Applied to a __{get|release}buffer__ special methods
- Applied to a couple of (self,unused) parameter pairs
Cython/Compiler/ModuleNode.py
Cython/Compiler/Nodes.py
tests/run/numpy_cimport.pyx [new file with mode: 0644]