-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Some ffi-gdal wrapper objects need to call a GDAL free/release/whatever function on the wrapped auto-pointer. Right now, the instantiation of those pointers (ex. via OGRCreateGeometry()) is all one-off; in other words, the pointer that's returned from the FFI call has to manually be set to autorelease = false, leaving it really easy to miss these cases. It'd be nice to have each of these cases either define their own AutoPointer class (like in the Pointers wiki page), or at least just define a class-level release method, then all of these things can easily be enforced across the board using rbs.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request