Skip to content

Generating bindings is tedious for large structured codebases #614

@TareHimself

Description

@TareHimself

For codebases such as Vulkan, the types and functions follow a defined structure. However, when generating C#, due to the current behavior of --with-attribute, I must manually list all enums that should have the Flags attribute in the .rsp file. If --with-attribute supported regex, or if a new --with-attribute-regex option were introduced, this could reduce dozens of lines in the .rsp file to a single regular expression. The latter approach would also be opt-in, meaning existing .rsp files would remain unaffected in terms of both performance and functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions