MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / _PyLong_GetDigits

Function _PyLong_GetDigits

asyncpg/protocol/record/pythoncapi_compat.h:1767–1775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1765}
1766
1767static inline digit*
1768_PyLong_GetDigits(const PyLongObject *op)
1769{
1770#if PY_VERSION_HEX >= 0x030C0000
1771 return (digit*)(op->long_value.ob_digit);
1772#else
1773 return (digit*)(op->ob_digit);
1774#endif
1775}
1776
1777typedef struct PyLongLayout {
1778 uint8_t bits_per_digit;

Callers 3

PyLong_ExportFunction · 0.85
PyLongWriter_CreateFunction · 0.85
PyLongWriter_FinishFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected