Flutter Engine
platform_version.h
Go to the documentation of this file.
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 
5 #ifndef FLUTTER_FML_PLATFORM_DARWIN_PLATFORM_VERSION_H_
6 #define FLUTTER_FML_PLATFORM_DARWIN_PLATFORM_VERSION_H_
7 
8 #include <sys/types.h>
9 
10 #include "flutter/fml/macros.h"
11 
12 namespace fml {
13 
14 bool IsPlatformVersionAtLeast(size_t major, size_t minor = 0, size_t patch = 0);
15 
16 } // namespace fml
17 
18 #endif // FLUTTER_FML_PLATFORM_DARWIN_PLATFORM_VERSION_H_
bool IsPlatformVersionAtLeast(size_t major, size_t minor=0, size_t patch=0)
Definition: ascii_trie.cc:9