v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 1967 | skipping to change at line 1967 | |||
}; | }; | |||
enum PropertyAttribute { | enum PropertyAttribute { | |||
None = 0, | None = 0, | |||
ReadOnly = 1 << 0, | ReadOnly = 1 << 0, | |||
DontEnum = 1 << 1, | DontEnum = 1 << 1, | |||
DontDelete = 1 << 2 | DontDelete = 1 << 2 | |||
}; | }; | |||
enum ExternalArrayType { | enum ExternalArrayType { | |||
kExternalByteArray = 1, | kExternalInt8Array = 1, | |||
kExternalUnsignedByteArray, | kExternalUint8Array, | |||
kExternalShortArray, | kExternalInt16Array, | |||
kExternalUnsignedShortArray, | kExternalUint16Array, | |||
kExternalIntArray, | kExternalInt32Array, | |||
kExternalUnsignedIntArray, | kExternalUint32Array, | |||
kExternalFloatArray, | kExternalFloat32Array, | |||
kExternalDoubleArray, | kExternalFloat64Array, | |||
kExternalPixelArray | kExternalUint8ClampedArray, | |||
// Legacy constant names | ||||
kExternalByteArray = kExternalInt8Array, | ||||
kExternalUnsignedByteArray = kExternalUint8Array, | ||||
kExternalShortArray = kExternalInt16Array, | ||||
kExternalUnsignedShortArray = kExternalUint16Array, | ||||
kExternalIntArray = kExternalInt32Array, | ||||
kExternalUnsignedIntArray = kExternalUint32Array, | ||||
kExternalFloatArray = kExternalFloat32Array, | ||||
kExternalDoubleArray = kExternalFloat64Array, | ||||
kExternalPixelArray = kExternalUint8ClampedArray | ||||
}; | }; | |||
/** | /** | |||
* Accessor[Getter|Setter] are used as callback functions when | * Accessor[Getter|Setter] are used as callback functions when | |||
* setting|getting a particular property. See Object and ObjectTemplate's | * setting|getting a particular property. See Object and ObjectTemplate's | |||
* method SetAccessor. | * method SetAccessor. | |||
*/ | */ | |||
typedef void (*AccessorGetterCallback)( | typedef void (*AccessorGetterCallback)( | |||
Local<String> property, | Local<String> property, | |||
const PropertyCallbackInfo<Value>& info); | const PropertyCallbackInfo<Value>& info); | |||
End of changes. 1 change blocks. | ||||
9 lines changed or deleted | 20 lines changed or added | |||