Flutter Engine
The Flutter Engine
snapshot_in.cc
Go to the documentation of this file.
1// Copyright (c) 2011, 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// clang-format off
6
7// This file is linked into the dart executable when it has a snapshot
8// linked into it.
9
10#include <stdint.h>
11
12extern "C" {
13
14// The string on the next line will be filled in with the contents of the
15// generated snapshot binary file for the vm isolate.
16// This string forms the content of a vm isolate snapshot which is loaded
17// into the vm isolate.
19 %s
20};
22
23// The string on the next line will be filled in with the contents of the
24// generated snapshot binary file for a regular dart isolate.
25// This string forms the content of a regular dart isolate snapshot which is
26// loaded into an isolate when it is created.
28 %s
29};
31
32}
struct MyStruct s
uint8_t kDartVmSnapshotInstructions[]
Definition: snapshot_in.cc:21
uint8_t kDartCoreIsolateSnapshotInstructions[]
Definition: snapshot_in.cc:30
uint8_t kDartCoreIsolateSnapshotData[]
Definition: snapshot_in.cc:27
uint8_t kDartVmSnapshotData[]
Definition: snapshot_in.cc:18