Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Enums and flags #3

@amezin

Description

@amezin

Some values are bitfields or enumerations (effectively, but all constants are defined as preprocessor definitions).

Scanning the code for bitwise ands/ors and comparisons of struct fields and these constants should give possible enum values or flags. Then raw ctypes structs (generated by ctypeslib) could be somehow decorated with this information (substitute the field in fields with new enum/flag field?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions