Commit 58782c55 authored by ager@chromium.org's avatar ager@chromium.org

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
parent c89021d1
...@@ -1651,9 +1651,9 @@ class Object : public Value { ...@@ -1651,9 +1651,9 @@ class Object : public Value {
* the backing store is preserved while V8 has a reference. * the backing store is preserved while V8 has a reference.
*/ */
V8EXPORT void SetIndexedPropertiesToPixelData(uint8_t* data, int length); V8EXPORT void SetIndexedPropertiesToPixelData(uint8_t* data, int length);
bool HasIndexedPropertiesInPixelData(); V8EXPORT bool HasIndexedPropertiesInPixelData();
uint8_t* GetIndexedPropertiesPixelData(); V8EXPORT uint8_t* GetIndexedPropertiesPixelData();
int GetIndexedPropertiesPixelDataLength(); V8EXPORT int GetIndexedPropertiesPixelDataLength();
/** /**
* Set the backing store of the indexed properties to be managed by the * Set the backing store of the indexed properties to be managed by the
...@@ -1666,10 +1666,10 @@ class Object : public Value { ...@@ -1666,10 +1666,10 @@ class Object : public Value {
void* data, void* data,
ExternalArrayType array_type, ExternalArrayType array_type,
int number_of_elements); int number_of_elements);
bool HasIndexedPropertiesInExternalArrayData(); V8EXPORT bool HasIndexedPropertiesInExternalArrayData();
void* GetIndexedPropertiesExternalArrayData(); V8EXPORT void* GetIndexedPropertiesExternalArrayData();
ExternalArrayType GetIndexedPropertiesExternalArrayDataType(); V8EXPORT ExternalArrayType GetIndexedPropertiesExternalArrayDataType();
int GetIndexedPropertiesExternalArrayDataLength(); V8EXPORT int GetIndexedPropertiesExternalArrayDataLength();
V8EXPORT static Local<Object> New(); V8EXPORT static Local<Object> New();
static inline Object* Cast(Value* obj); static inline Object* Cast(Value* obj);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment