5#ifndef INCLUDE_V8_SNAPSHOT_H_
6#define INCLUDE_V8_SNAPSHOT_H_
46 void* data_arg =
nullptr)
63 void* data_arg =
nullptr)
93 const intptr_t* external_references =
nullptr,
182 T* object_ptr = *object;
189 T* object_ptr = *object;
void operator=(const SnapshotCreator &)=delete
V8_INLINE size_t AddData(Local< Context > context, Local< T > object)
StartupData CreateBlob(FunctionCodeHandling function_code_handling)
size_t AddContext(Local< Context > context, SerializeInternalFieldsCallback callback=SerializeInternalFieldsCallback())
V8_INLINE size_t AddData(Local< T > object)
SnapshotCreator(const SnapshotCreator &)=delete
void SetDefaultContext(Local< Context > context, SerializeInternalFieldsCallback callback=SerializeInternalFieldsCallback())
SnapshotCreator(const intptr_t *external_references=nullptr, StartupData *existing_blob=nullptr)
SnapshotCreator(Isolate *isolate, const intptr_t *external_references=nullptr, StartupData *existing_blob=nullptr)
bool CanBeRehashed() const
void(*)(Local< Object > holder, int index, StartupData payload, void *data) CallbackFunction
void(* callback)(Local< Object > holder, int index, StartupData payload, void *data)
DeserializeInternalFieldsCallback(CallbackFunction function=nullptr, void *data_arg=nullptr)
StartupData(*)(Local< Object > holder, int index, void *data) CallbackFunction
SerializeInternalFieldsCallback(CallbackFunction function=nullptr, void *data_arg=nullptr)
CallbackFunction callback