summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLLight.h
diff options
context:
space:
mode:
authorFabian Guerra Soto <fabian.guerra@mapbox.com>2017-06-22 14:36:21 -0400
committerGitHub <noreply@github.com>2017-06-22 14:36:21 -0400
commita1c5b32da66a32e52e24163f826dabbc1e4d38bf (patch)
tree77ff10c12884788022523ea6ad0d23e94d63bdf4 /platform/darwin/src/MGLLight.h
parentb7ec96d352c78172b6df4afedd6fc0e7db142a54 (diff)
downloadqtlocation-mapboxgl-a1c5b32da66a32e52e24163f826dabbc1e4d38bf.tar.gz
Boxing ObjC structs (#9343)
* [ios, macos] Make structs boxable * [ios, macos] Update changelogs.
Diffstat (limited to 'platform/darwin/src/MGLLight.h')
-rw-r--r--platform/darwin/src/MGLLight.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLLight.h b/platform/darwin/src/MGLLight.h
index 55b789f043..50db3f45fd 100644
--- a/platform/darwin/src/MGLLight.h
+++ b/platform/darwin/src/MGLLight.h
@@ -27,7 +27,7 @@ typedef NS_ENUM(NSUInteger, MGLLightAnchor) {
A structure containing information about the position of the light source
relative to lit geometries.
*/
-typedef struct MGLSphericalPosition {
+typedef struct __attribute__((objc_boxable)) MGLSphericalPosition {
/** Distance from the center of the base of an object to its light. */
CGFloat radial;
/** Position of the light relative to 0° (0° when `MGLLight.anchor` is set to viewport corresponds