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

Allow to distinguish wide strings from regular strings. #25

Open
emilio opened this issue Mar 11, 2020 · 1 comment
Open

Allow to distinguish wide strings from regular strings. #25

emilio opened this issue Mar 11, 2020 · 1 comment

Comments

@emilio
Copy link
Collaborator

emilio commented Mar 11, 2020

#define FOO L"bar"

Produces the same output as:

#define FOO "bar"

While they're different types. This causes bindgen to not generate the right thing for the former.

@paxbun
Copy link

paxbun commented Apr 3, 2023

I have a similar issue due to this. If you think it's okay, I want to make a PR that adds enum variants Char8, Char16, Char32, and WChar, which correspond to the u8, u, U, and L prefixes.

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

No branches or pull requests

2 participants