5#ifndef INCLUDE_V8_SNAPSHOT_H_
6#define INCLUDE_V8_SNAPSHOT_H_
18class SnapshotCreatorImpl;
51 void* data_arg =
nullptr)
65 void* data_arg =
nullptr)
78 void* cpp_heap_pointer,
void*
data);
95 void* data_arg =
nullptr)
110 void* data_arg =
nullptr)
120 void*
data =
nullptr)
151 const intptr_t* external_references =
nullptr,
153 bool owns_isolate = true);
191 const
v8::
Isolate::CreateParams& params);
220 void SetDefaultContext(
283 size_t AddData(
Local<
Context> context, internal::Address
object);
284 size_t AddData(internal::Address
object);
286 internal::SnapshotCreatorImpl* impl_;
287 friend class internal::SnapshotCreatorImpl;
292 return AddData(context, internal::ValueHelper::ValueAsAddress(*
object));
297 return AddData(internal::ValueHelper::ValueAsAddress(*
object));
Definition: v8-context.h:48
Definition: v8-isolate.h:212
Definition: v8-local-handle.h:266
Definition: v8-snapshot.h:135
FunctionCodeHandling
Definition: v8-snapshot.h:137
Definition: v8-snapshot.h:21
bool CanBeRehashed() const
int raw_size
Definition: v8-snapshot.h:36
const char * data
Definition: v8-snapshot.h:35
Definition: libplatform.h:15
Definition: v8-snapshot.h:116
CallbackFunction callback
Definition: v8-snapshot.h:123
void * data
Definition: v8-snapshot.h:124
void(*)(Local< Object > holder, StartupData payload, void *data) CallbackFunction
Definition: v8-snapshot.h:118
DeserializeAPIWrapperCallback(CallbackFunction function=nullptr, void *data=nullptr)
Definition: v8-snapshot.h:119
Definition: v8-snapshot.h:106
void(*)(Local< Context > holder, int index, StartupData payload, void *data) CallbackFunction
Definition: v8-snapshot.h:108
void * data
Definition: v8-snapshot.h:113
DeserializeContextDataCallback(CallbackFunction function=nullptr, void *data_arg=nullptr)
Definition: v8-snapshot.h:109
CallbackFunction callback
Definition: v8-snapshot.h:112
Definition: v8-snapshot.h:91
CallbackFunction callback
Definition: v8-snapshot.h:98
void * data
Definition: v8-snapshot.h:99
DeserializeInternalFieldsCallback(CallbackFunction function=nullptr, void *data_arg=nullptr)
Definition: v8-snapshot.h:94
void(*)(Local< Object > holder, int index, StartupData payload, void *data) CallbackFunction
Definition: v8-snapshot.h:93
Definition: v8-snapshot.h:76
SerializeAPIWrapperCallback(CallbackFunction function=nullptr, void *data=nullptr)
Definition: v8-snapshot.h:79
void * data
Definition: v8-snapshot.h:84
CallbackFunction callback
Definition: v8-snapshot.h:83
StartupData(*)(Local< Object > holder, void *cpp_heap_pointer, void *data) CallbackFunction
Definition: v8-snapshot.h:78
Definition: v8-snapshot.h:61
void * data
Definition: v8-snapshot.h:68
CallbackFunction callback
Definition: v8-snapshot.h:67
StartupData(*)(Local< Context > holder, int index, void *data) CallbackFunction
Definition: v8-snapshot.h:63
SerializeContextDataCallback(CallbackFunction function=nullptr, void *data_arg=nullptr)
Definition: v8-snapshot.h:64
Definition: v8-snapshot.h:47
void * data
Definition: v8-snapshot.h:54
SerializeInternalFieldsCallback(CallbackFunction function=nullptr, void *data_arg=nullptr)
Definition: v8-snapshot.h:50
CallbackFunction callback
Definition: v8-snapshot.h:53
StartupData(*)(Local< Object > holder, int index, void *data) CallbackFunction
Definition: v8-snapshot.h:49
#define V8_EXPORT
Definition: v8config.h:793
#define V8_INLINE
Definition: v8config.h:499
#define V8_DEPRECATE_SOON(message)
Definition: v8config.h:603