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

Function PyLong_FromInt32

asyncpg/protocol/record/pythoncapi_compat.h:1665–1669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1663
1664#if PY_VERSION_HEX < 0x030E00A0
1665static inline PyObject* PyLong_FromInt32(int32_t value)
1666{
1667 Py_BUILD_ASSERT(sizeof(long) >= 4);
1668 return PyLong_FromLong(value);
1669}
1670
1671static inline PyObject* PyLong_FromInt64(int64_t value)
1672{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected