Closed laszlo-major closed 5 years ago
Wowza, thanks! Should we maybe have if swift version 5 and 4 added? Don't want to break things for swift 4 folks :)
This change should be compatible from 4.1 and up, which is a fine range to support in my opinion, but maybe it should be mentioned in the readme? Would you like me to add that?
Thanks a lot!
Just a small change since the deallocate/deinit methods were changed/deprecated in swift 4.1 and completely removed in 5.0. As per https://github.com/apple/swift-evolution/blob/master/proposals/0184-unsafe-pointers-add-missing.md
This change preserves the same behaviour, with the new API.