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

translator: bug fix: give a tag name instead of typedef #176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hajimehoshi
Copy link

Updates #174
Updates golang-ui/nuklear#91

@hajimehoshi
Copy link
Author

hajimehoshi commented Nov 4, 2024

This is a different approach from #150. At least this changes the compilation result of https://github.com/golang-ui/nuklear. nuklear couldn't be compiled even with this patch yet, but errors with enums were resolved.

@hajimehoshi
Copy link
Author

Just FYI, after applying this PR, nuklear's compilation result is like this:

% go build ./nk
# github.com/golang-ui/nuklear/nk
nk/types.go:44:6: Bool redeclared in this block
        nk/const.go:47:2: other declaration of Bool
nk/types.go:70:54: Bool is not a type
nk/cgo_helpers.go:692:37: Bool is not a type
nk/cgo_helpers.go:5706:26: Bool is not a type
nk/cgo_helpers.go:6259:34: Bool is not a type
nk/cgo_helpers.go:6843:36: Bool is not a type
nk/cgo_helpers.go:6924:35: Bool is not a type
nk/nk.go:27:51: Bool is not a type
nk/nk.go:38:83: Bool is not a type
nk/nk.go:53:61: Bool is not a type
nk/nk.go:53:61: too many errors

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.

1 participant