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/MGLRasterTileSource.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/MGLRasterTileSource.h')
-rw-r--r-- | platform/darwin/src/MGLRasterTileSource.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLRasterTileSource.h b/platform/darwin/src/MGLRasterTileSource.h index f27cbc285f..8f00be0ea4 100644 --- a/platform/darwin/src/MGLRasterTileSource.h +++ b/platform/darwin/src/MGLRasterTileSource.h @@ -20,7 +20,7 @@ NS_ASSUME_NONNULL_BEGIN This option is only applicable to `MGLRasterTileSource` objects; it is ignored when initializing `MGLVectorTileSource` objects. */ -extern MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionTileSize; +FOUNDATION_EXTERN MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionTileSize; /** `MGLRasterTileSource` is a map content source that supplies raster image tiles |