v8  8.4.371 (node 14.19.3)
V8 is Google's open source JavaScript engine
common.h
Go to the documentation of this file.
1 // Copyright 2020 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef INCLUDE_CPPGC_COMMON_H_
6 #define INCLUDE_CPPGC_COMMON_H_
7 
8 // TODO(chromium:1056170): Remove dependency on v8.
9 #include "v8config.h" // NOLINT(build/include_directory)
10 
11 namespace cppgc {
12 
13 // Indicator for the stack state of the embedder.
14 enum class EmbedderStackState {
17  kUnknown V8_ENUM_DEPRECATE_SOON("Use kMayContainHeapPointers") =
19  kNonEmpty V8_ENUM_DEPRECATE_SOON("Use kMayContainHeapPointers") =
21  kEmpty V8_ENUM_DEPRECATE_SOON("Use kNoHeapPointers") = kNoHeapPointers,
22 };
23 
24 } // namespace cppgc
25 
26 #endif // INCLUDE_CPPGC_COMMON_H_