v8
8.4.371 (node 14.15.5)
V8 is Google's open source JavaScript engine
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
c
d
f
g
h
i
j
m
n
o
p
r
s
t
u
Variables
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
c
e
g
i
j
k
m
n
p
r
s
t
w
Enumerator
a
b
c
d
e
g
i
j
k
n
o
p
r
s
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
g
i
m
n
p
r
s
t
u
w
Enumerations
a
b
c
e
f
g
m
n
o
p
s
t
u
w
Enumerator
b
c
d
e
h
j
k
n
o
p
r
s
t
u
Related Functions
a
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Files
File List
Globals
All
c
m
s
u
v
Macros
c
m
s
u
v
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
platform.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_PLATFORM_H_
6
#
define
INCLUDE_CPPGC_PLATFORM_H_
7
8
#
include
"v8-platform.h"
// NOLINT(build/include_directory)
9
#
include
"v8config.h"
// NOLINT(build/include_directory)
10
11
namespace
cppgc
{
12
13
// TODO(v8:10346): Put PageAllocator in a non-V8 include header to avoid
14
// depending on namespace v8.
15
using
PageAllocator =
v8
::
PageAllocator
;
16
17
// Initializes the garbage collector with the provided platform. Must be called
18
// before creating a Heap.
19
V8_EXPORT
void
InitializePlatform
(PageAllocator* page_allocator);
20
21
// Must be called after destroying the last used heap.
22
V8_EXPORT
void
ShutdownPlatform
();
23
24
namespace
internal
{
25
26
V8_EXPORT
void
Abort
();
27
28
}
// namespace internal
29
}
// namespace cppgc
30
31
#
endif
// INCLUDE_CPPGC_PLATFORM_H_
include
cppgc
platform.h
Generated on Fri Oct 29 2021 20:07:26 for v8 by
1.9.1