Flutter Engine
The Flutter Engine
third_party
dart-lang
sdk
runtime
bin
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
13
namespace
dart
{
14
namespace
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.
22
char
*
ExtractsOSVersionFromString
(
char
* str);
23
24
}
// namespace bin
25
}
// namespace dart
26
27
#endif
// RUNTIME_BIN_PLATFORM_MACOS_H_
dart::bin::ExtractsOSVersionFromString
char * ExtractsOSVersionFromString(char *str)
dart
Definition:
dart_vm.cc:33
Generated on Sun Jun 23 2024 21:55:23 for Flutter Engine by
1.9.4