Index: src/api.h |
diff --git a/src/api.h b/src/api.h |
index 26e47ccb52882455abba052c8c301a35ca5b7b6e..a6425c2496cf2653e6c9df4ac095a9115a5e3b26 100644 |
--- a/src/api.h |
+++ b/src/api.h |
@@ -136,6 +136,8 @@ class Utils { |
v8::internal::Handle<v8::internal::JSReceiver> obj); |
static inline Local<Object> ToLocal( |
v8::internal::Handle<v8::internal::JSObject> obj); |
+ static inline Local<Function> ToLocal( |
+ v8::internal::Handle<v8::internal::JSFunction> obj); |
static inline Local<Array> ToLocal( |
v8::internal::Handle<v8::internal::JSArray> obj); |
static inline Local<Map> ToLocal( |
@@ -290,6 +292,7 @@ MAKE_TO_LOCAL(ToLocal, Symbol, Symbol) |
MAKE_TO_LOCAL(ToLocal, JSRegExp, RegExp) |
MAKE_TO_LOCAL(ToLocal, JSReceiver, Object) |
MAKE_TO_LOCAL(ToLocal, JSObject, Object) |
+MAKE_TO_LOCAL(ToLocal, JSFunction, Function) |
MAKE_TO_LOCAL(ToLocal, JSArray, Array) |
MAKE_TO_LOCAL(ToLocal, JSMap, Map) |
MAKE_TO_LOCAL(ToLocal, JSSet, Set) |