Revision: 6142
Author: [email protected]
Date: Tue Jan  4 01:27:46 2011
Log: Export external array data accessors.

BUG=v8:1016
Review URL: http://codereview.chromium.org/6013011
http://code.google.com/p/v8/source/detail?r=6142

Modified:
 /branches/bleeding_edge/include/v8.h

=======================================
--- /branches/bleeding_edge/include/v8.h        Mon Jan  3 02:17:08 2011
+++ /branches/bleeding_edge/include/v8.h        Tue Jan  4 01:27:46 2011
@@ -1651,9 +1651,9 @@
    *       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 @@
       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);

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to