bpo-36763: Add _PyInitError functions by vstinner · Pull Request #13395 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Merged
Conversation
-
Add _PyInitError functions:
- _PyInitError_Ok()
- _PyInitError_Error()
- _PyInitError_NoMemory()
- _PyInitError_Exit()
- _PyInitError_IsError()
- _PyInitError_IsExit()
- _PyInitError_Failed()
-
frozenmain.c and _testembed.c now use functions rather than macros.
-
Move _Py_INIT_xxx() macros to the internal API.
-
Move _PyWstrList_INIT macro to the internal API.
* Add _PyInitError functions: * _PyInitError_Ok() * _PyInitError_Error() * _PyInitError_NoMemory() * _PyInitError_Exit() * _PyInitError_IsError() * _PyInitError_IsExit() * _PyInitError_Failed() * frozenmain.c and _testembed.c now use functions rather than macros. * Move _Py_INIT_xxx() macros to the internal API. * Move _PyWstrList_INIT macro to the internal API.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters