Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
utils_macos.h File Reference
#include <AvailabilityMacros.h>
#include <libkern/OSByteOrder.h>

Go to the source code of this file.

Namespaces

namespace  dart
 
namespace  dart::internal
 

Macros

#define DEFINE_IS_OS_FUNCS(VERSION)
 

Functions

int32_t dart::internal::MacOSXVersion ()
 
char * dart::CheckIsAtLeastMinRequiredMacOSVersion ()
 

Macro Definition Documentation

◆ DEFINE_IS_OS_FUNCS

#define DEFINE_IS_OS_FUNCS (   VERSION)
Value:
inline bool IsAtLeastOS##VERSION() { \
return (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_##VERSION) || \
(internal::MacOSXVersion() >= MAC_OS_X_VERSION_##VERSION); \
}
#define VERSION

Definition at line 26 of file utils_macos.h.

27 { \
28 return (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_##VERSION) || \
29 (internal::MacOSXVersion() >= MAC_OS_X_VERSION_##VERSION); \
30 }