GMSPlacesMacros.h 642 B

1234567891011121314151617181920212223
  1. //
  2. // GMSPlacesMacros.h
  3. // Google Maps SDK for iOS
  4. //
  5. // Copyright 2015 Google Inc.
  6. //
  7. // Usage of this SDK is subject to the Google Maps/Google Earth APIs Terms of
  8. // Service: https://developers.google.com/maps/terms
  9. //
  10. #if !__has_feature(nullability) \
  11. || !defined(NS_ASSUME_NONNULL_BEGIN) \
  12. || !defined(NS_ASSUME_NONNULL_END)
  13. #define GMS_ASSUME_NONNULL_BEGIN
  14. #define GMS_ASSUME_NONNULL_END
  15. #define GMS_NULLABLE
  16. #define GMS_NULLABLE_PTR
  17. #else
  18. #define GMS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_BEGIN
  19. #define GMS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END
  20. #define GMS_NULLABLE nullable
  21. #define GMS_NULLABLE_PTR __nullable
  22. #endif