Skip to content
Unverified Commit b975e13a authored by Connor Ward's avatar Connor Ward Committed by GitHub
Browse files

Prefer 'static inline' to 'inline' for C functions (#948)

* Prefer 'static inline' to 'inline' for C functions

Just passing 'inline' is undefined behaviour and leads to linker
failures.

See https://stackoverflow.com/questions/16245521/c99-inline-function-in-c-file/16245669#16245669

.

* Update basedpyright baseline

* Revert "Update basedpyright baseline"

This reverts commit 0e45e10c65a5e7a6adf2d994fcb6186156596b9b.

* Patch for basedpyright

* Add type info for C preamble generators

---------

Co-authored-by: default avatarAndreas Kloeckner <inform@tiker.net>
parent 7e43b8b8
Loading
Loading
Loading
Loading