summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLMapView.h
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2018-07-24 18:08:12 -0400
committerJason Wray <jason@mapbox.com>2018-07-24 18:14:32 -0400
commitcdd35536417fe16cc60e225f1bd7462f4242e795 (patch)
tree72567b594f8138d778b52aae961c3f55417819d5 /platform/ios/src/MGLMapView.h
parent14dc94e65fc5e549b5bdc8a9138d5d3512b469be (diff)
downloadqtlocation-mapboxgl-cdd35536417fe16cc60e225f1bd7462f4242e795.tar.gz
[darwin] Use FOUNDATION_EXTERN instead of plain extern
FOUNDATION_EXTERN is an alias for extern in most cases, but also covers us in the event that a method could be mismangled by the compiler as C++ (when we want C-style mangling, for Obj-C compatibility).
Diffstat (limited to 'platform/ios/src/MGLMapView.h')
-rw-r--r--platform/ios/src/MGLMapView.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h
index b2439416ae..bfd0946cdc 100644
--- a/platform/ios/src/MGLMapView.h
+++ b/platform/ios/src/MGLMapView.h
@@ -24,13 +24,13 @@ NS_ASSUME_NONNULL_BEGIN
@protocol MGLLocationManager;
/** The default deceleration rate for a map view. */
-extern MGL_EXPORT const CGFloat MGLMapViewDecelerationRateNormal;
+FOUNDATION_EXTERN MGL_EXPORT const CGFloat MGLMapViewDecelerationRateNormal;
/** A fast deceleration rate for a map view. */
-extern MGL_EXPORT const CGFloat MGLMapViewDecelerationRateFast;
+FOUNDATION_EXTERN MGL_EXPORT const CGFloat MGLMapViewDecelerationRateFast;
/** Disables deceleration in a map view. */
-extern MGL_EXPORT const CGFloat MGLMapViewDecelerationRateImmediate;
+FOUNDATION_EXTERN MGL_EXPORT const CGFloat MGLMapViewDecelerationRateImmediate;
/**
The vertical alignment of an annotation within a map view. Used with