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:Andreas Kloeckner <inform@tiker.net>