This repository was archived by the owner on Oct 15, 2020. It is now read-only.
File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -273,6 +273,11 @@ typedef MaybeLocal<Promise>(*HostImportModuleDynamicallyCallback)(
273
273
Local<Context> context, Local<ScriptOrModule> referrer,
274
274
Local<String> specifier);
275
275
276
+ typedef void (*HostInitializeImportMetaObjectCallback)(
277
+ Local<Context> context,
278
+ Local<Module> module,
279
+ Local<Object> meta);
280
+
276
281
template <class T >
277
282
class Local {
278
283
public:
@@ -2706,6 +2711,8 @@ class V8_EXPORT Isolate {
2706
2711
2707
2712
void SetHostImportModuleDynamicallyCallback (
2708
2713
HostImportModuleDynamicallyCallback callback);
2714
+ void SetHostInitializeImportMetaObjectCallback (
2715
+ HostInitializeImportMetaObjectCallback callback);
2709
2716
2710
2717
void Enter ();
2711
2718
void Exit ();
Original file line number Diff line number Diff line change @@ -96,6 +96,11 @@ void Isolate::SetHostImportModuleDynamicallyCallback(
96
96
// CHAKRA-TODO
97
97
}
98
98
99
+ void Isolate::SetHostInitializeImportMetaObjectCallback (
100
+ HostInitializeImportMetaObjectCallback callback) {
101
+ CHAKRA_UNIMPLEMENTED ();
102
+ }
103
+
99
104
void Isolate::SetFatalErrorHandler (FatalErrorCallback that) {
100
105
// CONSIDER: Ignoring for now, since we don't have an equivalent concept.
101
106
}
You can’t perform that action at this time.
0 commit comments