gh-121647: Define _Py_TYPEOF macro on more compilers · python/cpython@8d78fea · GitHub
Skip to content

Commit 8d78fea

Browse files
committed
gh-121647: Define _Py_TYPEOF macro on more compilers
Extend the _Py_TYPEOF macro to use __typeof__() with MSVC 17.9 and newer, or decltype() under C++11 and newer.
1 parent f715d25 commit 8d78fea

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Include/pyport.h

Lines changed: 6 additions & 3 deletions

0 commit comments

Comments
 (0)