Skip to content

Update python tests for pointers in emulation mode - #1340

Merged
czgdp1807 merged 4 commits into
lcompilers:mainfrom
czgdp1807:c_p_impl_1
Dec 3, 2022
Merged

Update python tests for pointers in emulation mode#1340
czgdp1807 merged 4 commits into
lcompilers:mainfrom
czgdp1807:c_p_impl_1

Conversation

@czgdp1807

Copy link
Copy Markdown
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
Copy Markdown
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.

@certik certik left a comment

Copy link
Copy Markdown
Contributor

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