Re: [v8-users] How to pass the second parameter of ObjectTemplate::New in Google V8?

2017-05-12 Thread Jakob Kummerow
Same question: http://stackoverflow.com/questions/43909594/ On Fri, May 12, 2017 at 7:40 PM, Ben Noordhuis wrote: > On Thu, May 11, 2017 at 11:02 AM, XadillaX Scarlet > wrote: > > I know creating an ObjectTemplate and we can do several things to it.

Re: [v8-users] How to pass the second parameter of ObjectTemplate::New in Google V8?

2017-05-12 Thread Ben Noordhuis
On Thu, May 11, 2017 at 11:02 AM, XadillaX Scarlet wrote: > I know creating an ObjectTemplate and we can do several things to it. But my > question is not about those well-known things. > > I want to know how to pass the second parameter. > > As the official guide said: >

[v8-users] How to pass the second parameter of ObjectTemplate::New in Google V8?

2017-05-11 Thread XadillaX Scarlet
I know creating an ObjectTemplate and we can do several things to it. But my question is not about those well-known things. I want to know how to pass the second parameter. As the official guide said: Each function template has an associated object template. This is used to configure