Visitar URL original
gh-93442: Make C++ version of _Py_CAST work with 0/NULL. by nascheme · Pull Request #93500 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add blurb.
  • Loading branch information
nascheme committed Jun 4, 2022
commit 14562857e90f2dddc8e8dda6b9b18f9a3fcff7d9
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Add C++ overloads for _Py_CAST_impl() to handle 0/NULL. This will allow C++
extensions that pass 0 or NULL to macros using _Py_CAST() to continue to
compile.