Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix function macros with empty params list #189

Merged
merged 2 commits into from
Dec 17, 2023
Merged

Commits on Dec 5, 2023

  1. Fix function macros with empty params list

    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
    mara004 committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    d8b1cca View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2023

  1. fix line length

    nilason committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    13edf0b View commit details
    Browse the repository at this point in the history