v8  9.4.146 (node 16.13.0)
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 /**
14  * Indicator for the stack state of the embedder.
15  */
16 enum class EmbedderStackState {
17  /**
18  * Stack may contain interesting heap pointers.
19  */
21  /**
22  * Stack does not contain any interesting heap pointers.
23  */
25 };
26 
27 } // namespace cppgc
28 
29 #endif // INCLUDE_CPPGC_COMMON_H_