gh-117845: Detect libedit hook function signature in configure (#117870)
Older libedit versions (like Apple's) use a different type signature for rl_startup_hook and rl_pre_input_hook. Add a configure check to determine which signature is accepted by introducing the Py_RL_STARTUP_HOOK_TAKES_ARGS macro in pyconfig.h.
J
Joshua Root committed
8515fd79fef1ac16d7848cec5ec1797294cb5366
Parent: f74e512
Committed by GitHub <noreply@github.com>
on 4/17/2024, 9:26:10 AM