Skip to content

Conversation

@SimonDanisch
Copy link
Collaborator

This emits @cenum for EnumDecl.
We need to resolve JuliaLang/julia#15728 first, though.
We could make a package CEnum with this code and then just make wrappers depend on it.

@visr
Copy link
Contributor

visr commented Nov 11, 2017

Thanks, this is great. I already wanted to use this in GDAL.jl, but preferred to stick with normal Enums for now.

Some things I needed to get it working for me:

Set the Enum type:
visr@cda8331

And for the case you mentioned with two fields for one value I use this workaround:
visr@4e18317

And then I had an issue with missing names for the Enums, not sure if that is a more general Clang.jl issue though
visr@6716500
visr@d185104

@ihnorton
Copy link
Collaborator

@visr I'm a little (well, a lot) behind on merging and updating things around here, but a surprising number of people still seem to use this package so I'd be happy to merge any of the general fixes you pointed to!

@Gnimuc Gnimuc mentioned this pull request Sep 16, 2018
Gnimuc added a commit that referenced this pull request Dec 23, 2018
Co-Authored-By: Simon <sdanisch@gmail.com>
Gnimuc added a commit that referenced this pull request Dec 23, 2018
Co-Authored-By: Simon <sdanisch@gmail.com>
@Gnimuc
Copy link
Member

Gnimuc commented Dec 23, 2018

This has been integrated into #216.

@Gnimuc Gnimuc closed this Dec 23, 2018
@Gnimuc Gnimuc mentioned this pull request Jan 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Different problems with @enum

4 participants