Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: include/v8.h

Issue 145133013: External Array renaming and boilerplate scrapping (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/api.h » ('j') | src/api.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 96d8c6fb6a136c54784850ba10fe23489529ec89..4bb3ad97c7b2b9007f22fa5af291a14b0321ff24 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -2000,15 +2000,26 @@ enum PropertyAttribute {
};
enum ExternalArrayType {
- kExternalByteArray = 1,
- kExternalUnsignedByteArray,
- kExternalShortArray,
- kExternalUnsignedShortArray,
- kExternalIntArray,
- kExternalUnsignedIntArray,
- kExternalFloatArray,
- kExternalDoubleArray,
- kExternalPixelArray
+ kExternalInt8Array = 1,
+ kExternalUint8Array,
+ kExternalInt16Array,
+ kExternalUint16Array,
+ kExternalInt32Array,
+ kExternalUint32Array,
+ kExternalFloat32Array,
+ kExternalFloat64Array,
+ kExternalUint8ClampedArray,
+
+ // Legacy constant names
+ kExternalByteArray = kExternalInt8Array,
+ kExternalUnsignedByteArray = kExternalUint8Array,
+ kExternalShortArray = kExternalInt16Array,
+ kExternalUnsignedShortArray = kExternalUint16Array,
+ kExternalIntArray = kExternalInt32Array,
+ kExternalUnsignedIntArray = kExternalUint32Array,
+ kExternalFloatArray = kExternalFloat32Array,
+ kExternalDoubleArray = kExternalFloat64Array,
+ kExternalPixelArray = kExternalUint8ClampedArray
};
/**
« no previous file with comments | « no previous file | src/api.h » ('j') | src/api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698