| Index: src/api.h
|
| diff --git a/src/api.h b/src/api.h
|
| index a9563469fd1899cd86e2e70b4eb2b84b8f26f510..eb97dbc9ec785f9fc22dc0238b9a8c77ca73b546 100644
|
| --- a/src/api.h
|
| +++ b/src/api.h
|
| @@ -173,6 +173,7 @@ class RegisteredExtension {
|
| V(ArrayBuffer, JSArrayBuffer) \
|
| V(TypedArray, JSTypedArray) \
|
| V(Uint8Array, JSTypedArray) \
|
| + V(Uint8ClampedArray, JSTypedArray) \
|
| V(Int8Array, JSTypedArray) \
|
| V(Uint16Array, JSTypedArray) \
|
| V(Int16Array, JSTypedArray) \
|
| @@ -222,6 +223,8 @@ class Utils {
|
| v8::internal::Handle<v8::internal::JSTypedArray> obj);
|
| static inline Local<Uint8Array> ToLocalUint8Array(
|
| v8::internal::Handle<v8::internal::JSTypedArray> obj);
|
| + static inline Local<Uint8ClampedArray> ToLocalUint8ClampedArray(
|
| + v8::internal::Handle<v8::internal::JSTypedArray> obj);
|
| static inline Local<Int8Array> ToLocalInt8Array(
|
| v8::internal::Handle<v8::internal::JSTypedArray> obj);
|
| static inline Local<Uint16Array> ToLocalUint16Array(
|
| @@ -322,6 +325,7 @@ MAKE_TO_LOCAL(ToLocal, JSArrayBuffer, ArrayBuffer)
|
| MAKE_TO_LOCAL(ToLocal, JSTypedArray, TypedArray)
|
|
|
| MAKE_TO_LOCAL_TYPED_ARRAY(Uint8Array, kExternalUnsignedByteArray)
|
| +MAKE_TO_LOCAL_TYPED_ARRAY(Uint8ClampedArray, kExternalPixelArray)
|
| MAKE_TO_LOCAL_TYPED_ARRAY(Int8Array, kExternalByteArray)
|
| MAKE_TO_LOCAL_TYPED_ARRAY(Uint16Array, kExternalUnsignedShortArray)
|
| MAKE_TO_LOCAL_TYPED_ARRAY(Int16Array, kExternalShortArray)
|
|
|