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

Use built-in offset argument to cpointer #46

Merged
merged 1 commit into from
Mar 29, 2021
Merged

Conversation

ergl
Copy link
Member

@ergl ergl commented Mar 29, 2021

The cpointer() method takes an offset. Converting the pointer to USize might mean that the Pony GC stops tracking this pointer.

@SeanTAllen
Copy link
Member

Nice catch.

@SeanTAllen SeanTAllen merged commit 4ad8fd5 into main Mar 29, 2021
@SeanTAllen SeanTAllen deleted the ergl/cpointer_offset branch March 29, 2021 16:51
SeanTAllen added a commit that referenced this pull request Mar 29, 2021
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