Files
sdk/runtime/bin/abi_version.h
T
Liam Appelbe 724d956fd4 Move use_abi_version from vm directory to bin
I need to access the flag in bin/main.cc, so it can't be in the vm directory

Bug: https://github.com/dart-lang/sdk/issues/36047
Change-Id: Ib19a1b4d89295449b25f7753b2a39f6232c004e3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97122
Commit-Queue: Liam Appelbe <liama@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2019-03-15 22:35:25 +00:00

19 lines
460 B
C++

// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#ifndef RUNTIME_BIN_ABI_VERSION_H_
#define RUNTIME_BIN_ABI_VERSION_H_
namespace dart {
class AbiVersion {
public:
static int GetCurrent();
static int GetOldestSupported();
};
} // namespace dart
#endif // RUNTIME_BIN_ABI_VERSION_H_