Files
sdk/runtime/vm/version.h
T
iposva@google.com bc26800a4f - Generate a version string based on the VERSION file.
- Add a Dart_VersionString to the API.
- Print version string when passing --version to the standalone binary.
Review URL: https://codereview.chromium.org//11086065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13514 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 07:17:09 +00:00

23 lines
488 B
C++

// Copyright (c) 2012, 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 VM_VERSION_H_
#define VM_VERSION_H_
#include "vm/allocation.h"
namespace dart {
class Version : public AllStatic {
public:
static const char* String() { return str_; }
private:
static const char* str_;
};
} // namespace dart
#endif // VM_VERSION_H_