8000 DOC: Document the removal of the NPY_ALIGNMENT_REQUIRED macro. · sthagen/numpy-numpy@f0e082d · GitHub
[go: up one dir, main page]

Skip to content

Commit f0e082d

Browse files
committed
DOC: Document the removal of the NPY_ALIGNMENT_REQUIRED macro.
1 parent e48fdef commit f0e082d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
The Macro NPY_ALIGNMENT_REQUIRED has been removed
2+
-------------------------------------------------
3+
The macro was defined in the `npy_cpu.h` file, so might be regarded as
4+
semipublic. As it turns out, with modern compilers and hardware it is almost
5+
always the case that alignment is required, so numpy no longer uses the macro.
6+
It is unlikely anyone uses it, but you might want to compile with the `-Wundef`
7+
flag or equivalent to be sure.

0 commit comments

Comments
 (0)
0