Flutter Engine
FlutterMacros.h File Reference

Go to the source code of this file.

Macros

#define FLUTTER_EXPORT
 
#define NS_ASSUME_NONNULL_BEGIN   _Pragma("clang assume_nonnull begin")
 
#define NS_ASSUME_NONNULL_END   _Pragma("clang assume_nonnull end")
 
#define FLUTTER_DEPRECATED(msg)   __attribute__((__deprecated__(msg)))
 
#define FLUTTER_UNAVAILABLE(msg)   __attribute__((__unavailable__(msg)))
 
#define FLUTTER_ASSERT_ARC   #error ARC must be enabled!
 
#define FLUTTER_ASSERT_NOT_ARC
 

Macro Definition Documentation

◆ FLUTTER_ASSERT_ARC

#define FLUTTER_ASSERT_ARC   #error ARC must be enabled!

Definition at line 44 of file FlutterMacros.h.

◆ FLUTTER_ASSERT_NOT_ARC

#define FLUTTER_ASSERT_NOT_ARC

Definition at line 45 of file FlutterMacros.h.

◆ FLUTTER_DEPRECATED

#define FLUTTER_DEPRECATED (   msg)    __attribute__((__deprecated__(msg)))

Indicates that the API has been deprecated for the specified reason. Code that uses the deprecated API will continue to work as before. However, the API will soon become unavailable and users are encouraged to immediately take the appropriate action mentioned in the deprecation message and the BREAKING CHANGES section present in the Flutter.h umbrella header.

Definition at line 30 of file FlutterMacros.h.

◆ FLUTTER_EXPORT

#define FLUTTER_EXPORT

Definition at line 14 of file FlutterMacros.h.

◆ FLUTTER_UNAVAILABLE

#define FLUTTER_UNAVAILABLE (   msg)    __attribute__((__unavailable__(msg)))

Indicates that the previously deprecated API is now unavailable. Code that uses the API will not work and the declaration of the API is only a stub meant to display the given message detailing the actions for the user to take immediately.

Definition at line 38 of file FlutterMacros.h.

◆ NS_ASSUME_NONNULL_BEGIN

#define NS_ASSUME_NONNULL_BEGIN   _Pragma("clang assume_nonnull begin")

Definition at line 19 of file FlutterMacros.h.

◆ NS_ASSUME_NONNULL_END

#define NS_ASSUME_NONNULL_END   _Pragma("clang assume_nonnull end")

Definition at line 20 of file FlutterMacros.h.