Repository navigation
Commit 8d78fea
committed
pythongh-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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | | - | |
542 | | - | |
| 541 | + | |
| 542 | + | |
543 | 543 | | |
544 | 544 | | |
545 | | - | |
| 545 | + | |
| 546 | + | |
546 | 547 | | |
| 548 | + | |
| 549 | + | |
547 | 550 | | |
548 | 551 | | |
549 | 552 | | |
| |||
0 commit comments