diff options
author | Jason Wray <jason@mapbox.com> | 2018-07-24 18:08:12 -0400 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2018-07-24 18:14:32 -0400 |
commit | cdd35536417fe16cc60e225f1bd7462f4242e795 (patch) | |
tree | 72567b594f8138d778b52aae961c3f55417819d5 /platform/darwin/src/MGLTileSource.h | |
parent | 14dc94e65fc5e549b5bdc8a9138d5d3512b469be (diff) | |
download | qtlocation-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/darwin/src/MGLTileSource.h')
-rw-r--r-- | platform/darwin/src/MGLTileSource.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/platform/darwin/src/MGLTileSource.h b/platform/darwin/src/MGLTileSource.h index d55e72a1cb..0d8b118ec6 100644 --- a/platform/darwin/src/MGLTileSource.h +++ b/platform/darwin/src/MGLTileSource.h @@ -25,7 +25,7 @@ typedef NSString *MGLTileSourceOption NS_STRING_ENUM; <a href="https://github.com/mapbox/tilejson-spec/tree/master/2.1.0">TileJSON</a> specification. */ -extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionMinimumZoomLevel; +FOUNDATION_EXTERN MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionMinimumZoomLevel; /** An `NSNumber` object containing an unsigned integer that specifies the maximum @@ -39,7 +39,7 @@ extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionMinimumZoomLevel; <a href="https://github.com/mapbox/tilejson-spec/tree/master/2.1.0">TileJSON</a> specification. */ -extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionMaximumZoomLevel; +FOUNDATION_EXTERN MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionMaximumZoomLevel; /** An `NSValue` object containing an `MGLCoordinateBounds` struct that specifies @@ -53,7 +53,7 @@ extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionMaximumZoomLevel; <a href="https://github.com/mapbox/tilejson-spec/tree/master/2.1.0">TileJSON</a> specification. */ -extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionCoordinateBounds; +FOUNDATION_EXTERN MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionCoordinateBounds; #if TARGET_OS_IPHONE /** @@ -69,7 +69,7 @@ extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionCoordinateBounds; <a href="https://github.com/mapbox/tilejson-spec/tree/master/2.1.0">TileJSON</a> specification. */ -extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionAttributionHTMLString; +FOUNDATION_EXTERN MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionAttributionHTMLString; /** An array of `MGLAttributionInfo` objects defining the buttons to be displayed @@ -78,7 +78,7 @@ extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionAttributionHTMLSt By default, no attribution statements are displayed. */ -extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionAttributionInfos; +FOUNDATION_EXTERN MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionAttributionInfos; #else /** An HTML string defining the buttons to be displayed in the map view’s @@ -92,7 +92,7 @@ extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionAttributionInfos; <a href="https://github.com/mapbox/tilejson-spec/tree/master/2.1.0">TileJSON</a> specification. */ -extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionAttributionHTMLString; +FOUNDATION_EXTERN MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionAttributionHTMLString; /** An array of `MGLAttributionInfo` objects defining the buttons to be displayed @@ -101,7 +101,7 @@ extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionAttributionHTMLSt By default, no attribution statements are displayed. */ -extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionAttributionInfos; +FOUNDATION_EXTERN MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionAttributionInfos; #endif /** @@ -115,7 +115,7 @@ extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionAttributionInfos; <a href="https://github.com/mapbox/tilejson-spec/tree/master/2.1.0">TileJSON</a> specification. */ -extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionTileCoordinateSystem; +FOUNDATION_EXTERN MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionTileCoordinateSystem; /** Tile coordinate systems that determine how tile coordinates in tile URLs are |