#pragma once #include inline PyCFunction castPyCFunctionWithKeywords(PyCFunctionWithKeywords func) { // NOLINTNEXTLINE(modernize-redundant-void-arg) return (PyCFunction)(void (*)(void))func; }