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 bugzilla 23812 - ImportC: allow adding function attributes to imp… #16820

Merged
merged 1 commit into from
Sep 14, 2024

Commits on Sep 11, 2024

  1. Fix bugzilla 23812 - ImportC: allow adding function attributes to imp…

    …orted C functions
    
    This adds a new pragma for ImportC, which allows to set default storage
    classes. Only `nothrow`, `@nogc` and `pure` are supported for now.
    They can be disabled later using `#pragma attribute(pop)`.
    
    Unknown storage classes are ignored.
    tim-dlang committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    d956dc0 View commit details
    Browse the repository at this point in the history