summaryrefslogtreecommitdiff
path: root/platform/ios/vendor/Fabric/FABAttributes.h
diff options
context:
space:
mode:
authorJason Wray <friedbunny@users.noreply.github.com>2018-06-18 19:03:59 -0700
committerJulian Rex <julian.rex@mapbox.com>2018-06-18 22:39:39 -0400
commit4343ab936c833772f55873ac88b52ead45efe011 (patch)
tree65892a8070d68a4c166a4f8162bda1a833c0d031 /platform/ios/vendor/Fabric/FABAttributes.h
parentfba8fd7d649e7384b926ec19e9887eaa5f9a093a (diff)
downloadqtlocation-mapboxgl-upstream/jrex-cp-12106.tar.gz
[ios, build] Completely remove support for Fabric (#12106)upstream/jrex-cp-12106
Diffstat (limited to 'platform/ios/vendor/Fabric/FABAttributes.h')
-rw-r--r--platform/ios/vendor/Fabric/FABAttributes.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/platform/ios/vendor/Fabric/FABAttributes.h b/platform/ios/vendor/Fabric/FABAttributes.h
deleted file mode 100644
index c3c6238503..0000000000
--- a/platform/ios/vendor/Fabric/FABAttributes.h
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-// FABAttributes.h
-// Fabric
-//
-// Created by Priyanka Joshi on 3/3/15.
-// Copyright (c) 2015 Twitter. All rights reserved.
-//
-
-#pragma once
-
-#define FAB_UNAVAILABLE(x) __attribute__((unavailable(x)))
-
-#if __has_feature(nullability)
- #define fab_nullable nullable
- #define fab_nonnull nonnull
- #define fab_null_unspecified null_unspecified
- #define fab_null_resettable null_resettable
- #define __fab_nullable __nullable
- #define __fab_nonnull __nonnull
- #define __fab_null_unspecified __null_unspecified
-#else
- #define fab_nullable
- #define fab_nonnull
- #define fab_null_unspecified
- #define fab_null_resettable
- #define __fab_nullable
- #define __fab_nonnull
- #define __fab_null_unspecified
-#endif
-
-#ifndef NS_ASSUME_NONNULL_BEGIN
- #define NS_ASSUME_NONNULL_BEGIN
-#endif
-
-#ifndef NS_ASSUME_NONNULL_END
- #define NS_ASSUME_NONNULL_END
-#endif
-
-
-/**
- * The following macros are defined here to provide
- * backwards compatability. If you are still using
- * them you should migrate to the new versions that
- * are defined above.
- */
-#define FAB_NONNULL __fab_nonnull
-#define FAB_NULLABLE __fab_nullable
-#define FAB_START_NONNULL NS_ASSUME_NONNULL_BEGIN
-#define FAB_END_NONNULL NS_ASSUME_NONNULL_END