From 58782c556a361e2cc0818e14c29dc59d16d077f1 Mon Sep 17 00:00:00 2001 From: "ager@chromium.org" Date: Tue, 4 Jan 2011 09:27:46 +0000 Subject: [PATCH] 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 --- include/v8.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/v8.h b/include/v8.h index 0647eb6c7..883bfad94 100644 --- a/include/v8.h +++ b/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 New(); static inline Object* Cast(Value* obj); -- 2.34.1