Index: src/api.h |
diff --git a/src/api.h b/src/api.h |
index 42aaac502d999f98bfd206765a1f47078e89d92a..c5007a7b0b85f73e2ac381071f5b0dc72eddc83f 100644 |
--- a/src/api.h |
+++ b/src/api.h |
@@ -138,6 +138,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( |
@@ -293,6 +295,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) |