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

cgen: allow ptr in alias type with ctypes #19452

Merged
merged 7 commits into from
Sep 27, 2023

Conversation

Delta456
Copy link
Member

@Delta456 Delta456 commented Sep 27, 2023

Closes #19399

🤖 Generated by Copilot at aa4bbdc

Fix C code generation for aliases of C types that are pointers. Add a test case in vlib/v/gen/c/testdata/alias_c_parent_type_decl.vv and its expected output in vlib/v/gen/c/testdata/alias_c_parent_type_decl.c.must_have.

🤖 Generated by Copilot at aa4bbdc

  • Fix C code generation for aliases of C types that are pointers (link)
  • Add test case for C code generation of aliases of C types that are pointers (link, link)

@Delta456 Delta456 marked this pull request as draft September 27, 2023 14:38
@Delta456 Delta456 marked this pull request as ready for review September 27, 2023 17:03
Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

@spytheman spytheman merged commit 8f69bd1 into vlang:master Sep 27, 2023
46 checks passed
Wertzui123 pushed a commit to Wertzui123/v that referenced this pull request Oct 8, 2023
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.

Pointer in type statement doesn't work
2 participants