Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compilation error under clang version 16
When compiled using clang v16, it issued the following error: lru.c:629:17: error: incompatible function pointer types initializing 'PyCFunction' (aka 'struct _object *(*)(struct _object *, struct _object *)') with an expression of type 'PyCFunctionWithKeywords' (aka 'struct _object *(*)(struct _object *, struct _object *, struct _object *)') [-Wincompatible-function-pointer-types] {"popitem", (PyCFunctionWithKeywords)LRU_popitem, METH_VARARGS | METH_KEYWORDS, The higher version clang will check exact type match for function pointer.
- Loading branch information