Skip to content

Detect forward declarations and generate opaque enums for them. #62

Closed
@emilio

Description

@emilio

We should be able to detect forward declarations in bindgen, and generate opaque enums if appropriate, instead of structs with an address byte.

We should check clang_getCursorDefinition() and clang_isCursorDefinition to check whether what we're scanning, mark the generated type accordingly, and do the proper codegen steps.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions