Index: src/api.h |
diff --git a/src/api.h b/src/api.h |
index fed869a18ed85296d46c5636c52b6000ee0674ed..556765264ae4b1ba6989aba0ef7f3d3aeb4d42f6 100644 |
--- a/src/api.h |
+++ b/src/api.h |
@@ -173,6 +173,7 @@ class RegisteredExtension { |
V(External, Object) \ |
V(StackTrace, JSArray) \ |
V(StackFrame, JSObject) \ |
+ V(Proxy, JSProxy) \ |
V(NativeWeakMap, JSWeakMap) |
class Utils { |
@@ -203,21 +204,20 @@ class Utils { |
v8::internal::Handle<v8::internal::JSReceiver> obj); |
static inline Local<Object> ToLocal( |
v8::internal::Handle<v8::internal::JSObject> obj); |
- static inline Local<Object> ToLocal( |
- v8::internal::Handle<v8::internal::JSProxy> obj); |
static inline Local<Array> ToLocal( |
v8::internal::Handle<v8::internal::JSArray> obj); |
static inline Local<Map> ToLocal( |
v8::internal::Handle<v8::internal::JSMap> obj); |
static inline Local<Set> ToLocal( |
v8::internal::Handle<v8::internal::JSSet> obj); |
+ static inline Local<Proxy> ToLocal( |
+ v8::internal::Handle<v8::internal::JSProxy> obj); |
static inline Local<ArrayBuffer> ToLocal( |
v8::internal::Handle<v8::internal::JSArrayBuffer> obj); |
static inline Local<ArrayBufferView> ToLocal( |
v8::internal::Handle<v8::internal::JSArrayBufferView> obj); |
static inline Local<DataView> ToLocal( |
v8::internal::Handle<v8::internal::JSDataView> obj); |
- |
static inline Local<TypedArray> ToLocal( |
v8::internal::Handle<v8::internal::JSTypedArray> obj); |
static inline Local<Uint8Array> ToLocalUint8Array( |
@@ -356,10 +356,10 @@ 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, JSProxy, Object) |
MAKE_TO_LOCAL(ToLocal, JSArray, Array) |
MAKE_TO_LOCAL(ToLocal, JSMap, Map) |
MAKE_TO_LOCAL(ToLocal, JSSet, Set) |
+MAKE_TO_LOCAL(ToLocal, JSProxy, Proxy) |
MAKE_TO_LOCAL(ToLocal, JSArrayBuffer, ArrayBuffer) |
MAKE_TO_LOCAL(ToLocal, JSArrayBufferView, ArrayBufferView) |
MAKE_TO_LOCAL(ToLocal, JSDataView, DataView) |