Closed madsmtm closed 3 months ago
These return a +0 autoreleased pointer, so we have to retain them ourselves before we put them in the strong smart pointer created by foreign_obj_type!.
foreign_obj_type!
Fixes https://github.com/gfx-rs/metal-rs/issues/319.
These return a +0 autoreleased pointer, so we have to retain them ourselves before we put them in the strong smart pointer created by
foreign_obj_type!
.Fixes https://github.com/gfx-rs/metal-rs/issues/319.