bpo-45094: Add Py_NO_INLINE macro (GH-28140)

* Rename _Py_NO_INLINE macro to Py_NO_INLINE: make it public and
  document it.
* Sort macros in the C API documentation.
This commit is contained in:
Victor Stinner 2021-09-03 16:44:02 +02:00 committed by GitHub
parent be9de8721d
commit 7974c30b9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 87 additions and 76 deletions

View file

@ -451,7 +451,7 @@ reset_signal_handlers(const sigset_t *child_sigmask)
* If vfork-unsafe functionality is desired after vfork(), consider using
* syscall() to obtain it.
*/
_Py_NO_INLINE static void
Py_NO_INLINE static void
child_exec(char *const exec_array[],
char *const argv[],
char *const envp[],
@ -650,7 +650,7 @@ error:
* child_exec() should not be inlined to avoid spurious -Wclobber warnings from
* GCC (see bpo-35823).
*/
_Py_NO_INLINE static pid_t
Py_NO_INLINE static pid_t
do_fork_exec(char *const exec_array[],
char *const argv[],
char *const envp[],