Simplify code by switching to higher-level dispatch APIs (#1409)

* Switch to higher-level dispatch APIs

* Inline all the functions

* Switch to autoreleasepool from objc
This commit is contained in:
Steven Sheldon 2020-01-19 10:47:55 -08:00 committed by Freya Gentz
parent d934f94704
commit e48262a797
2 changed files with 129 additions and 358 deletions

View file

@ -41,7 +41,7 @@ objc = "0.2.3"
cocoa = "0.19.1"
core-foundation = "0.6"
core-graphics = "0.17.3"
dispatch = "0.1.4"
dispatch = "0.2.0"
objc = "0.2.6"
[target.'cfg(target_os = "macos")'.dependencies.core-video-sys]