From cdd35536417fe16cc60e225f1bd7462f4242e795 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Tue, 24 Jul 2018 18:08:12 -0400 Subject: [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). --- platform/darwin/src/MGLTileSource.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'platform/darwin/src/MGLTileSource.h') 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; TileJSON 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; TileJSON 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; TileJSON 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; TileJSON 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; TileJSON 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; TileJSON 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 -- cgit v1.2.1