Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix function macros with empty params list (ctypesgen#189)
This fixes a bug in compiling function macros without params that was present in ctypesgen since at least 2010 according to git blame. Prior to this fix, e.g. Py_UNREACHABLE from pymacro.h would translate to Py_UNREACHABLE = Py_FatalError("Unreachable C code path reached") which would promptly raise an exception on import time.
- Loading branch information