Skip to content

Update python tests for pointers in emulation mode #1340

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

Merged
merged 4 commits into from
Dec 3, 2022

Conversation

czgdp1807
Copy link
Collaborator

Continues #1336

@czgdp1807 czgdp1807 marked this pull request as ready for review December 2, 2022 06:16
@czgdp1807 czgdp1807 requested a review from certik December 2, 2022 06:16
@czgdp1807
Copy link
Collaborator Author

@certik This is ready. I enable CPython tests for a bunch of tests. The only thing left is structs_13 which I will do only when a use case arises for emulation mode.

Copy link
Contributor

@certik certik left a comment

Choose a reason for hiding this comment

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

Looks great, thanks!

1. c_p_pointer has been converted to a function from subroutine
2. PointerToStruct has been added for proxying ctypes.Structure pointer
3. pointer has been updated for handling arrays according to their data types
@czgdp1807 czgdp1807 enabled auto-merge December 3, 2022 13:56
@czgdp1807 czgdp1807 merged commit 981b725 into lcompilers:main Dec 3, 2022
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.

2 participants