Skip to content

Commit 85d1c40

Browse files
committed
Document Py_ALIGNED
1 parent 66055d0 commit 85d1c40

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doc/c-api/intro.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,13 @@ complete listing.
167167

168168
.. versionadded:: 3.3
169169

170+
.. c:macro:: Py_ALIGNED(num)
171+
172+
Specify alignment to *num* bytes on compilers that support it.
173+
174+
This does not use the C11 standard ``_Alignas`` specifier; prefer use of
175+
that over this macro.
176+
170177
.. c:macro:: Py_ALWAYS_INLINE
171178
172179
Ask the compiler to always inline a static inline function. The compiler can

0 commit comments

Comments
 (0)