Masterarbeit Richard Stern. Flutter App, sich mit einem Bluetooth-Gerät verbindet und Berührungen auf einem Sensor visualisiert.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FlutterMacros.h 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Copyright 2013 The Flutter Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef FLUTTER_FLUTTERMACROS_H_
  5. #define FLUTTER_FLUTTERMACROS_H_
  6. #if defined(FLUTTER_FRAMEWORK)
  7. #define FLUTTER_EXPORT __attribute__((visibility("default")))
  8. #else // defined(FLUTTER_SDK)
  9. #define FLUTTER_EXPORT
  10. #endif // defined(FLUTTER_SDK)
  11. #ifndef NS_ASSUME_NONNULL_BEGIN
  12. #define NS_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")
  13. #define NS_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end")
  14. #endif // defined(NS_ASSUME_NONNULL_BEGIN)
  15. /**
  16. * Indicates that the API has been deprecated for the specified reason. Code
  17. * that uses the deprecated API will continue to work as before. However, the
  18. * API will soon become unavailable and users are encouraged to immediately take
  19. * the appropriate action mentioned in the deprecation message and the BREAKING
  20. * CHANGES section present in the Flutter.h umbrella header.
  21. */
  22. #define FLUTTER_DEPRECATED(msg) __attribute__((__deprecated__(msg)))
  23. /**
  24. * Indicates that the previously deprecated API is now unavailable. Code that
  25. * uses the API will not work and the declaration of the API is only a stub
  26. * meant to display the given message detailing the actions for the user to take
  27. * immediately.
  28. */
  29. #define FLUTTER_UNAVAILABLE(msg) __attribute__((__unavailable__(msg)))
  30. #endif // FLUTTER_FLUTTERMACROS_H_