-
- Downloads
gh-91321: Add _Py_NULL macro (#92253)
Fix C++ compiler warnings: "zero as null pointer constant" (clang -Wzero-as-null-pointer-constant). * Add the _Py_NULL macro used by static inline functions to use nullptr in C++. * Replace NULL with nullptr in _testcppext.cpp.
Showing
- Include/cpython/abstract.h 9 additions, 9 deletionsInclude/cpython/abstract.h
- Include/cpython/unicodeobject.h 3 additions, 3 deletionsInclude/cpython/unicodeobject.h
- Include/object.h 2 additions, 2 deletionsInclude/object.h
- Include/pyport.h 8 additions, 0 deletionsInclude/pyport.h
- Lib/test/_testcppext.cpp 4 additions, 4 deletionsLib/test/_testcppext.cpp
- Lib/test/test_cppext.py 2 additions, 0 deletionsLib/test/test_cppext.py
Loading
Please register or sign in to comment