mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 09:43:57 +00:00
527238e008
Now that MSVC 2013 is required (commit f4824d3
), we can simply use C99
headers that are provided [1]. This means we can rely on <stdint.h> to
provide intXX_t and uintXX_t types, and <inttypes.h> to provide PRIxx
macros.
[1] https://devblogs.microsoft.com/cppblog/c99-library-support-in-visual-studio-2013/
Change-Id: I0cc707907f8aca05ae543188cc01e6c50d517f5a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107839
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
16 lines
572 B
C++
16 lines
572 B
C++
// Copyright (c) 2011, 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.
|
|
|
|
// This file is linked into the dart executable when it does not have a
|
|
// snapshot linked into it.
|
|
|
|
#include <stdint.h>
|
|
|
|
extern "C" {
|
|
const uint8_t* kDartVmSnapshotData = nullptr;
|
|
const uint8_t* kDartVmSnapshotInstructions = nullptr;
|
|
const uint8_t* kDartCoreIsolateSnapshotData = nullptr;
|
|
const uint8_t* kDartCoreIsolateSnapshotInstructions = nullptr;
|
|
}
|