Index: src/api.h |
diff --git a/src/api.h b/src/api.h |
index 7197b6cb546b83959c7714309c71dde278effeb0..ca2240b640e068974634926ab51879ee3f49164f 100644 |
--- a/src/api.h |
+++ b/src/api.h |
@@ -201,8 +201,6 @@ class Utils { |
v8::internal::Handle<v8::internal::JSObject> obj); |
static inline Local<Array> ToLocal( |
v8::internal::Handle<v8::internal::JSArray> obj); |
- static inline Local<External> ToLocal( |
- v8::internal::Handle<v8::internal::Foreign> obj); |
static inline Local<Message> MessageToLocal( |
v8::internal::Handle<v8::internal::Object> obj); |
static inline Local<StackTrace> StackTraceToLocal( |
@@ -225,6 +223,8 @@ class Utils { |
v8::internal::Handle<v8::internal::FunctionTemplateInfo> obj); |
static inline Local<TypeSwitch> ToLocal( |
v8::internal::Handle<v8::internal::TypeSwitchInfo> obj); |
+ static inline Local<External> ExternalToLocal( |
+ v8::internal::Handle<v8::internal::JSObject> obj); |
#define DECLARE_OPEN_HANDLE(From, To) \ |
static inline v8::internal::Handle<v8::internal::To> \ |
@@ -268,7 +268,6 @@ MAKE_TO_LOCAL(ToLocal, String, String) |
MAKE_TO_LOCAL(ToLocal, JSRegExp, RegExp) |
MAKE_TO_LOCAL(ToLocal, JSObject, Object) |
MAKE_TO_LOCAL(ToLocal, JSArray, Array) |
-MAKE_TO_LOCAL(ToLocal, Foreign, External) |
MAKE_TO_LOCAL(ToLocal, FunctionTemplateInfo, FunctionTemplate) |
MAKE_TO_LOCAL(ToLocal, ObjectTemplateInfo, ObjectTemplate) |
MAKE_TO_LOCAL(ToLocal, SignatureInfo, Signature) |
@@ -280,6 +279,7 @@ MAKE_TO_LOCAL(StackFrameToLocal, JSObject, StackFrame) |
MAKE_TO_LOCAL(NumberToLocal, Object, Number) |
MAKE_TO_LOCAL(IntegerToLocal, Object, Integer) |
MAKE_TO_LOCAL(Uint32ToLocal, Object, Uint32) |
+MAKE_TO_LOCAL(ExternalToLocal, JSObject, External) |
#undef MAKE_TO_LOCAL |