| 472 | |
| 473 | template<class T> |
| 474 | constexpr py_long_v |
| 475 | py_long() |
| 476 | { |
| 477 | return { |
| 478 | sizeof(T), |
| 479 | {offsetof(T, ob_base.ob_size)}, |
| 480 | {offsetof(T, ob_digit)}, |
| 481 | }; |
| 482 | } |
| 483 | |
| 484 | // ---- Python 2 -------------------------------------------------------------- |
| 485 |
nothing calls this directly
no outgoing calls
no test coverage detected