summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLFoundation_Private.h
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2020-02-27 13:09:39 -0800
committerMinh Nguyễn <mxn@1ec5.org>2020-02-27 17:14:20 -0800
commit206b9bde5ed9204de6ec18c0d37495db7c30aa09 (patch)
tree0049d4d6bd9195c194c0fe96665ba72c92f00da5 /platform/darwin/src/MGLFoundation_Private.h
parentbd252e16a3574efd11cca57917f52e6d1b2dd0a2 (diff)
downloadqtlocation-mapboxgl-206b9bde5ed9204de6ec18c0d37495db7c30aa09.tar.gz
[ios, macos] Deleted iOS/macOS map SDK sources, resources, scripts
Diffstat (limited to 'platform/darwin/src/MGLFoundation_Private.h')
-rw-r--r--platform/darwin/src/MGLFoundation_Private.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/platform/darwin/src/MGLFoundation_Private.h b/platform/darwin/src/MGLFoundation_Private.h
deleted file mode 100644
index db81bde3de..0000000000
--- a/platform/darwin/src/MGLFoundation_Private.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#import "MGLFoundation.h"
-
-#include <mbgl/util/run_loop.hpp>
-
-void MGLInitializeRunLoop();
-
-/* Using a compound statement (GNU Extension, supported by clang) */
-#define MGL_OBJC_DYNAMIC_CAST(object, type) \
- ({ \
- __typeof__( object ) temp##__LINE__ = (object); \
- (type *)([temp##__LINE__ isKindOfClass:[type class]] ? temp##__LINE__ : nil); \
- })
-
-#define MGL_OBJC_DYNAMIC_CAST_AS_PROTOCOL(object, proto) \
- ({ \
- __typeof__( object ) temp##__LINE__ = (object); \
- (id< proto >)([temp##__LINE__ conformsToProtocol:@protocol( proto )] ? temp##__LINE__ : nil); \
- })
-