Extracted enum constants should be grouped into an interface

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • repo-panama
    • Affects Version/s: repo-panama
    • Component/s: tools

      Jextract currently generates interfaces for structs/unions, but not for enums, whose constants are just inlined in the interface associated with the header file in which the enum was declared.

      This makes it difficult, for clients, to find the enum constants. Grouping enum constants in an interface that has the same name as the enum could be a good idea.

            Assignee:
            Sundararajan Athijegannathan
            Reporter:
            Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: