Skip to content

generate-macro-bindings only works when generating bindings from C++ files #439

Closed
@GasInfinity

Description

@GasInfinity

Hello, I have been trying to use this project to generate bindings from the XCB library. However, I noticed that when generating bindings from C headers, no constants are generated from the macros.

I have dived into the code and I have found that the generator generates auto constants from the macros in a first pass and then translates the entire ast into C# in a second pass.

Currently, that only works for C++ files.

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