Export external array data accessors.
BUG=v8:1016 Review URL: http://codereview.chromium.org/6013011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6142 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
c89021d162
commit
58782c556a
14
include/v8.h
14
include/v8.h
@ -1651,9 +1651,9 @@ class Object : public Value {
|
||||
* the backing store is preserved while V8 has a reference.
|
||||
*/
|
||||
V8EXPORT void SetIndexedPropertiesToPixelData(uint8_t* data, int length);
|
||||
bool HasIndexedPropertiesInPixelData();
|
||||
uint8_t* GetIndexedPropertiesPixelData();
|
||||
int GetIndexedPropertiesPixelDataLength();
|
||||
V8EXPORT bool HasIndexedPropertiesInPixelData();
|
||||
V8EXPORT uint8_t* GetIndexedPropertiesPixelData();
|
||||
V8EXPORT int GetIndexedPropertiesPixelDataLength();
|
||||
|
||||
/**
|
||||
* Set the backing store of the indexed properties to be managed by the
|
||||
@ -1666,10 +1666,10 @@ class Object : public Value {
|
||||
void* data,
|
||||
ExternalArrayType array_type,
|
||||
int number_of_elements);
|
||||
bool HasIndexedPropertiesInExternalArrayData();
|
||||
void* GetIndexedPropertiesExternalArrayData();
|
||||
ExternalArrayType GetIndexedPropertiesExternalArrayDataType();
|
||||
int GetIndexedPropertiesExternalArrayDataLength();
|
||||
V8EXPORT bool HasIndexedPropertiesInExternalArrayData();
|
||||
V8EXPORT void* GetIndexedPropertiesExternalArrayData();
|
||||
V8EXPORT ExternalArrayType GetIndexedPropertiesExternalArrayDataType();
|
||||
V8EXPORT int GetIndexedPropertiesExternalArrayDataLength();
|
||||
|
||||
V8EXPORT static Local<Object> New();
|
||||
static inline Object* Cast(Value* obj);
|
||||
|
Loading…
Reference in New Issue
Block a user