On Sun, Feb 16, 2014 at 4:51 PM, Jane Chen <jxche...@gmail.com> wrote:
> Hey Ben,
>
> That's really good to know.  I think that's probably what I need.  Just took
> a look at the API doc:
>
> /**
>    * Gets the embedder data with the given index, which must have been set
> by a
>    * previous call to SetEmbedderData with the same index. Note that index 0
>    * currently has a special meaning for Chrome's debugger.
>    */
>   V8_INLINE Local<Value> GetEmbedderData(int index);
>
> "Note that index 0 currently has a special meaning for Chrome's debugger."
> doesn't mean that index 0 is reserved, does it?  I should still be able to
> set my data starting at index 0, right?

If you're not writing a Chrome plugin then sure, index 0 is available.

> /**
>    * Gets a 2-byte-aligned native pointer from the embedder data with the
> given
>    * index, which must have bees set by a previous call to
>    * SetAlignedPointerInEmbedderData with the same index. Note that index 0
>    * currently has a special meaning for Chrome's debugger.
>    */
>   V8_INLINE void* GetAlignedPointerFromEmbedderData(int index);
>
> Is this the function that returns me the pointer of my data instead of the
> value?  What's "bees"?  Can you tell me more about it?

That looks like a misspelling of "been". :-)

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to