Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 36edf5334a9d27c4cec2ba8238eab8ee808dea8e..250317c2a76d9b7d26ec401720f45ba0e6016407 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -1106,22 +1106,22 @@ class V8_EXPORT Module { |
*/ |
Local<String> GetModuleRequest(int i) const; |
- void SetEmbedderData(Local<Value> data); |
- Local<Value> GetEmbedderData() const; |
+ /** |
+ * Returns the identity hash for this object. |
+ */ |
+ int GetIdentityHash() const; |
typedef MaybeLocal<Module> (*ResolveCallback)(Local<Context> context, |
Local<String> specifier, |
- Local<Module> referrer, |
- Local<Value> data); |
+ Local<Module> referrer); |
/** |
* ModuleDeclarationInstantiation |
* |
* Returns false if an exception occurred during instantiation. |
*/ |
- V8_WARN_UNUSED_RESULT bool Instantiate( |
- Local<Context> context, ResolveCallback callback, |
- Local<Value> callback_data = Local<Value>()); |
+ V8_WARN_UNUSED_RESULT bool Instantiate(Local<Context> context, |
+ ResolveCallback callback); |
/** |
* ModuleEvaluation |