On Thu, Apr 30, 2009 at 9:46 AM, Marshall Greenblatt <[email protected] > wrote:
> > > Speaking of V8 APIs, I notice that v8::FunctionTemplate::New() takes a > Handle<Value> |data| attribute as the second parameter. Is it correct to > assume that this Handle<Value> can later be retrieved by the > InvocationCallback function via a call to Arguments::Data()? If so, is > there some easy way that I could transport an arbitrary void pointer > (representing state information) within that Handle<Value>? > To answer my own question: v8::External::Wrap(void*) --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
