-
Notifications
You must be signed in to change notification settings - Fork 33
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
Wrong result for nested type #21
Comments
Thanks for the report, and sorry about the delay in responding. Could you take a look at #23 , especially since it disagrees with your proposed correct solution (the second one)? |
Thank you for both fixes but I'm not sure if it is correct now. import cgen as c
x = c.Pointer(c.ArrayOf(c.Value("float", "temp"), 2))
print(x) # float *(temp[2]);
x = c.ArrayOf(c.Pointer(c.Value("float", "temp")), 2)
print(x) # float (*temp)[2]; If I understand this library correct the first |
cc @kaushikcfd |
Both
result in
The expected result is
The text was updated successfully, but these errors were encountered: