diff options
author | Julian Rex <julian.rex@gmail.com> | 2018-11-21 13:56:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-21 13:56:41 -0500 |
commit | fd4b4701587c90271978b5f24d9a9355989182e0 (patch) | |
tree | 676ad30cd48e87b3aa53aceab3cfd5973ce82a38 /platform/darwin/src/MGLFoundation.h | |
parent | 7d5be980e287c979119b06c73d071f2daaea1b3d (diff) | |
download | qtlocation-mapboxgl-fd4b4701587c90271978b5f24d9a9355989182e0.tar.gz |
[ios] Adds support for MGLCollisionBehaviorPre4_0 in NSUserDefaults (#13426)
Diffstat (limited to 'platform/darwin/src/MGLFoundation.h')
-rw-r--r-- | platform/darwin/src/MGLFoundation.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/platform/darwin/src/MGLFoundation.h b/platform/darwin/src/MGLFoundation.h index be86bb92f9..3400c63979 100644 --- a/platform/darwin/src/MGLFoundation.h +++ b/platform/darwin/src/MGLFoundation.h @@ -3,10 +3,3 @@ #import <Foundation/Foundation.h> #define MGL_EXPORT __attribute__((visibility ("default"))) - -/* 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); \ - }) |