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

Handle struct vs function name collisions #32

Open
dennwc opened this issue Aug 18, 2021 · 0 comments
Open

Handle struct vs function name collisions #32

dennwc opened this issue Aug 18, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dennwc
Copy link
Contributor

dennwc commented Aug 18, 2021

In C it's valid to have struct foo defined alongside with void foo(). When using cxgo this causes name collision.

We should detect this case and append _t to a converted Go type name automatically.

@dennwc dennwc added the bug Something isn't working label Aug 18, 2021
@dennwc dennwc self-assigned this Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant