Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Void type is not shown correctly #327

Closed
melonedo opened this issue Sep 2, 2021 · 1 comment · Fixed by #340
Closed

Void type is not shown correctly #327

melonedo opened this issue Sep 2, 2021 · 1 comment · Fixed by #340

Comments

@melonedo
Copy link
Contributor

melonedo commented Sep 2, 2021

Currently, void is shown as CLFirstType, which is not very informative, this is because Clang includes First* and Last* as auxiliary enums that indicate ranges after main enum section, while the more informative one come first, changing the type mapping to prefer names that come first rather than last may solve this.

@Gnimuc
Copy link
Member

Gnimuc commented Sep 4, 2021

A possible fix would be to filter out those marker enum names in https://github.com/JuliaInterop/Clang.jl/blob/master/src/cltypes.jl.

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 a pull request may close this issue.

2 participants