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

Add constant scraper and integration with enums scraped from docs #327

Merged
merged 6 commits into from
Mar 10, 2021

Conversation

sotteson1
Copy link
Contributor

The idea is to walk the headers in each partition that ClangSharp traversed, scanning for constants. For each constant, see if it's part of an enum. If it is, update the enum value if the value isn't there yet. Otherwise, add the constant to the namespace of the partition.

This fixes a bunch of issues:

Fixes #306 , fixes #302, fixes #291, fixes #281, fixes #248, fixes #209, fixes #179, fixes #158, fixes #140, fixes #170, fixes #167, fixes #320

@sotteson1 sotteson1 merged commit e20ac99 into master Mar 10, 2021
@sotteson1 sotteson1 deleted the user/sotteson/const-enum-scraper branch March 10, 2021 01:25
@dotMorten
Copy link

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment