[Numpy-svn] [numpy/numpy] 085883: STY, BUG: Cleanup some macros and move a NULL chec...
GitHub
noreply at github.com
Fri Jan 27 21:54:28 EST 2012
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 0858831eaab3ce46bab4b3a3cc35b6cc6ee19f08
https://github.com/numpy/numpy/commit/0858831eaab3ce46bab4b3a3cc35b6cc6ee19f08
Author: Alok Singhal <gandalf013 at gmail.com>
Date: 2012-01-27 (Fri, 27 Jan 2012)
Changed paths:
M numpy/core/include/numpy/ndarraytypes.h
M numpy/core/src/multiarray/iterators.c
M numpy/core/src/multiarray/numpyos.c
Log Message:
-----------
STY, BUG: Cleanup some macros and move a NULL check.
Some macros are changed into statements with the {...}do while(0)
construction, while a few others have had the trailing semicolon
removed. This makes the macro usage a bit safer and more consistent,
but it is possible some third party code will be affected.
A NULL check was moved ahead of the spot where the variable is
first used.
Commit: 7bb277bacb92fcbb1ab2980234fe033dcc70d628
https://github.com/numpy/numpy/commit/7bb277bacb92fcbb1ab2980234fe033dcc70d628
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2012-01-27 (Fri, 27 Jan 2012)
Changed paths:
M doc/release/2.0.0-notes.rst
Log Message:
-----------
DOC: Document macro changes in release notes.
Compare: https://github.com/numpy/numpy/compare/b5959b6...7bb277b
More information about the Numpy-svn
mailing list