Skip to content

Pointers in emulation mode - #1336

Merged
certik merged 7 commits into
lcompilers:mainfrom
czgdp1807:c_p_impl
Dec 1, 2022
Merged

Pointers in emulation mode#1336
certik merged 7 commits into
lcompilers:mainfrom
czgdp1807:c_p_impl

Conversation

@czgdp1807

Copy link
Copy Markdown
Collaborator

Closes #1334

@certik
certik marked this pull request as ready for review December 1, 2022 18:49
@certik

certik commented Dec 1, 2022

Copy link
Copy Markdown
Contributor

This seems to work well:

$ lpython structs_15.py 
4
514 2
1542 6
20 238
2
$ PYTHONPATH=../src/runtime/ltypes python structs_15.py
4
514 2
1542 6
20 -18
2

The only difference is due to #1337, which is a separate issue.

@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.

These changes are fine with me.

@czgdp1807 I assume you have some stuff that you still want to polish here, so go ahead and then merge. Otherwise we can squash & merge.

@certik
certik merged commit 254efcf into lcompilers:main Dec 1, 2022
@certik

certik commented Dec 1, 2022

Copy link
Copy Markdown
Contributor

@czgdp1807 I need this, so I merged it. If there are some things you want to improve, then go ahead and send a new PR.

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.

Feature request: pointers in emulation mode

2 participants