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

Function PyFloat_Pack4

asyncpg/protocol/record/pythoncapi_compat.h:501–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

499// are not supported.
500#if PY_VERSION_HEX <= 0x030B00A1 && !defined(PYPY_VERSION)
501static inline int PyFloat_Pack4(double x, char *p, int le)
502{ return _PyFloat_Pack4(x, (unsigned char*)p, le); }
503
504static inline int PyFloat_Pack8(double x, char *p, int le)
505{ return _PyFloat_Pack8(x, (unsigned char*)p, le); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected