Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
platform_macos.h
Go to the documentation of this file.
1// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4
5#ifndef RUNTIME_BIN_PLATFORM_MACOS_H_
6#define RUNTIME_BIN_PLATFORM_MACOS_H_
7
8#if !defined(RUNTIME_BIN_PLATFORM_H_)
9#error Do not include platform_macos.h directly;
10#error use platform.h instead.
11#endif
12
13namespace dart {
14namespace bin {
15
16// This function extracts OSVersion from SystemVersion.plist.
17// The format of input should be:
18// <key>ProductVersion</key>
19// <string>10.15.4</string>
20// Returns the string representation of OSVersion. For example, "10.15.4" will
21// be returned in the previous example.
23
24} // namespace bin
25} // namespace dart
26
27#endif // RUNTIME_BIN_PLATFORM_MACOS_H_
char * ExtractsOSVersionFromString(char *str)