/* * IOSurfaceBase.h * IOSurface * * Copyright 2006-2017 Apple Inc. All rights reserved. * */ #ifndef IOSURFACE_BASE_H #define IOSURFACE_BASE_H #include #include #include #if defined(IOSFC_BUILDING_IOSFC) # define IOSFC_DEPRECATED_MSG(s) # define IOSFC_IOS_DEPRECATED_MSG(s) #else /* !defined(IOSFC_BUILDING_IOSFC) */ # define IOSFC_DEPRECATED_MSG(s) DEPRECATED_MSG_ATTRIBUTE(s) #if TARGET_OS_IPHONE # define IOSFC_IOS_DEPRECATED_MSG(s) DEPRECATED_MSG_ATTRIBUTE(s) #else # define IOSFC_IOS_DEPRECATED_MSG(s) #endif #endif /* !defined(IOSFC_BUILDING_IOSFC) */ #if __has_feature(objc_class_property) #define IOSFC_SWIFT_NAME(name) __attribute__((swift_name(#name))) #else #define IOSFC_SWIFT_NAME(name) #endif #include #include #if TARGET_OS_OSX #include #endif #endif