Thank you so much!!! 2010/6/14 Søren Gjesse <[email protected]>
> Added the following API methods to v8::Object > > bool HasIndexedPropertiesInPixelData(); > uint8_t* GetIndexedPropertiesPixelData(); > int GetIndexedPropertiesPixelDataLength(); > > bool HasIndexedPropertiesInExternalArrayData(); > void* GetIndexedPropertiesExternalArrayData(); > ExternalArrayType GetIndexedPropertiesExternalArrayDataType(); > int GetIndexedPropertiesExternalArrayDataLength(); > > in bleeding_edge r4860. > > Regards, > Søren > > On Mon, Jun 14, 2010 at 12:35, Søren Gjesse <[email protected]> wrote: > >> Opened issue http://code.google.com/p/v8/issues/detail?id=737. >> >> Regards, >> Søren >> >> >> On Fri, Jun 11, 2010 at 02:26, vlad vladbph <[email protected]> wrote: >> >>> Unless I'm missing something - it just make sense if you are able to set >>> pointer and length to an object via >>> SetIndexedPropertiesToExternalArrayData() >>> there should be a way to ask them back... Dont you think? :) >>> >>> >>> On Thu, Jun 10, 2010 at 4:14 PM, Camilo Aguilar >>> <[email protected]>wrote: >>> >>>> I think in nodejs, they do something similar in the Buffer >>>> implementation. >>>> >>>> On Thu, Jun 10, 2010 at 5:45 PM, vlad vladbph <[email protected]>wrote: >>>> >>>>> ...besides putting explicitly into internal fields.... >>>>> >>>>> >>>>> On Thu, Jun 10, 2010 at 2:14 PM, vlad <[email protected]> wrote: >>>>> >>>>>> Hi, >>>>>> If there is a way to tell an object to point to external array like >>>>>> this... >>>>>> obj->SetIndexedPropertiesToExternalArrayData(pBuffer, >>>>>> v8::kExternalByteArray, bufferLength); >>>>>> >>>>>> is there any way to get the buffer pointer and length back from the >>>>>> object when received for example in a callback? >>>>>> >>>>>> Thanks >>>>>> Vlad >>>>>> >>>>> >>>>> -- >>>>> v8-users mailing list >>>>> [email protected] >>>>> http://groups.google.com/group/v8-users >>>>> >>>> >>>> -- >>>> v8-users mailing list >>>> [email protected] >>>> http://groups.google.com/group/v8-users >>> >>> >>> -- >>> v8-users mailing list >>> [email protected] >>> http://groups.google.com/group/v8-users >>> >> >> > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
