-
Notifications
You must be signed in to change notification settings - Fork 28.2k
/
node_v8.h
36 lines (25 loc) · 845 Bytes
/
node_v8.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef SRC_NODE_V8_H_
#define SRC_NODE_V8_H_
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
#include "aliased_buffer.h"
#include "base_object.h"
#include "util.h"
#include "v8.h"
namespace node {
class Environment;
namespace v8_utils {
class BindingData : public BaseObject {
public:
BindingData(Environment* env, v8::Local<v8::Object> obj);
static constexpr FastStringKey type_name{"node::v8::BindingData"};
AliasedFloat64Array heap_statistics_buffer;
AliasedFloat64Array heap_space_statistics_buffer;
AliasedFloat64Array heap_code_statistics_buffer;
void MemoryInfo(MemoryTracker* tracker) const override;
SET_SELF_SIZE(BindingData)
SET_MEMORY_INFO_NAME(BindingData)
};
} // namespace v8_utils
} // namespace node
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
#endif // SRC_NODE_V8_H_