Index: src/api.h |
diff --git a/src/api.h b/src/api.h |
index 233be0ea9eeb8f6e7041923b4631cd47aa140b60..42aaac502d999f98bfd206765a1f47078e89d92a 100644 |
--- a/src/api.h |
+++ b/src/api.h |
@@ -124,6 +124,8 @@ class Utils { |
v8::internal::Handle<v8::internal::Context> obj); |
static inline Local<Value> ToLocal( |
v8::internal::Handle<v8::internal::Object> obj); |
+ static inline Local<Module> ToLocal( |
+ v8::internal::Handle<v8::internal::Module> obj); |
static inline Local<Name> ToLocal( |
v8::internal::Handle<v8::internal::Name> obj); |
static inline Local<String> ToLocal( |
@@ -284,6 +286,7 @@ inline bool ToLocal(v8::internal::MaybeHandle<v8::internal::Object> maybe, |
MAKE_TO_LOCAL(ToLocal, Context, Context) |
MAKE_TO_LOCAL(ToLocal, Object, Value) |
+MAKE_TO_LOCAL(ToLocal, Module, Module) |
MAKE_TO_LOCAL(ToLocal, Name, Name) |
MAKE_TO_LOCAL(ToLocal, String, String) |
MAKE_TO_LOCAL(ToLocal, Symbol, Symbol) |