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

Make CAPI wrapped pointers movable #280

Closed
BuonOmo opened this issue Dec 7, 2021 · 2 comments
Closed

Make CAPI wrapped pointers movable #280

BuonOmo opened this issue Dec 7, 2021 · 2 comments

Comments

@BuonOmo
Copy link
Member

BuonOmo commented Dec 7, 2021

Should we add the ability to mark these as movable, like we did in the proj4 extension (https://github.com/rgeo/rgeo-proj4/blob/3b55631538b54fd64d7410dd0e2e10be0280235f/ext/proj4_c_impl/main.c#L103-L119)? I figure this would be a good time to do it.

Originally posted by @keithdoggett in #279 (review)

This should be tested using GC.compact or moving specific objects.

Useful resources:

@BuonOmo
Copy link
Member Author

BuonOmo commented Jan 12, 2022

Working on it at klaxit (https://github.com/klaxit/rgeo/tree/movable-pointers)

@BuonOmo
Copy link
Member Author

BuonOmo commented Apr 29, 2022

Fixed by #284

@BuonOmo BuonOmo closed this as completed Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant