Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-91321: Add _Py_NULL macro #92253

Merged
merged 1 commit into from
May 3, 2022
Merged

gh-91321: Add _Py_NULL macro #92253

merged 1 commit into from
May 3, 2022

Commits on May 3, 2022

  1. gh-91321: Add _Py_NULL macro

    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.
    vstinner committed May 3, 2022
    Configuration menu
    Copy the full SHA
    924d3bd View commit details
    Browse the repository at this point in the history