Change AlignAfterOpenBracket in .clang-format to BlockIndent by Yay295 · Pull Request #8067 · python-pillow/Pillow

Currently in Python when a function declaration is split across multiple lines, the closing parenthesis is on the same level as the def.

def register_open(
id,
factory: Callable[[IO[bytes], str | bytes], ImageFile.ImageFile],
accept: Callable[[bytes], bool | str] | None = None,
) -> None:

However currently in C the closing parenthesis is on the same line as the last argument.

https://github.com/hugovk/Pillow/blob/5597f618a3b5cf8e208dded44a2107313c47122d/src/libImaging/BcnDecode.c#L825-L833

static int
decode_bcn(
    Imaging im,
    ImagingCodecState state,
    const UINT8 *src,
    int bytes,
    int N,
    int C,
    char *pixel_format) {

It's the same with function calls as well.

This change changes the C style to match the Python style.