[SR-576] kIOReturn* error codes are not imported to Swift #43193
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
SDKOverlay
standard library
Area: Standard library umbrella
Environment
Xcode 7.2 GM / Swift 2.1
Additional Detail from JIRA
md5: f38839ed1894dd9c68d8e2ce1fdf8835
Issue Description:
IOKit's
kIOReturn*
error codes (declared in iokit/IOKit/IOReturn.h) are not imported to Swift, presumably because they're defined in terms of a macro. For example:The Objective-C IOBluetooth API uses these error codes, so they're useful even outside of IOKit development. Perhaps they could be re-defined in Swift, much like Mach Error.
The text was updated successfully, but these errors were encountered: