Re: [v8-users] How to inherit objects like a c++'s objects??

2016-07-08 Thread Le_t0s
Yes, it should solve my problem. But object template hasn't any way to inherit for now, am I right? пятница, 8 июля 2016 г., 11:38:27 UTC+4 пользователь Jochen Eisinger написал: > > Does using FunctionTemplate::Inherit solve your problem? > > On Thu, Jul 7, 2016 at 9:08 AM Le_t0s > > wrote: > >

Re: [v8-users] Do all interceptor function need to be static?

2016-07-08 Thread Abhishek Singh
Thanks again Ben, this looks promising - will give it a shot. > On 08-Jul-2016, at 12:46 PM, Ben Noordhuis wrote: > > On Fri, Jul 8, 2016 at 7:56 AM, Abhishek Singh > mailto:singhabhishek@gmail.com>> wrote: >> Is it a requirement that all interceptor functions passed to >> "NamedPropertyHand

Re: [v8-users] How to inherit objects like a c++'s objects??

2016-07-08 Thread Jochen Eisinger
Does using FunctionTemplate::Inherit solve your problem? On Thu, Jul 7, 2016 at 9:08 AM Le_t0s wrote: > Hello. I have following situation. I have 2 classes (e.g. Parent and > Child). Parent has method "DoSmth", and Child have method "DoSmthElse". I > create two templates, like these: > auto pare

Re: [v8-users] Build on Windows - cannot generate Visual Studio solution

2016-07-08 Thread Jochen Eisinger
do you have any gyp related environment variables set, e.g. GYP_GENERATORS? On Thu, Jul 7, 2016 at 6:13 PM Riccardo Corsi wrote: > Hi all, > > I've been following all the instructions to build V8 on Windows from here: > https://github.com/v8/v8/wiki/Building%20with%20Gyp#visual-studio > > only r

[v8-users] Re: Build on Windows - cannot generate Visual Studio solution

2016-07-08 Thread Elangovan S
Hi Ricky, Just for your information the build instruction documentation for Windows out of date. I understand you are using "set GYP_GENERATORS=ninja" as mentioned in the document. Which will not guarantee generating Visual studio files. You can set "set GYP_GENERATORS=msvs-ninja" if you wan

Re: [v8-users] Do all interceptor function need to be static?

2016-07-08 Thread Ben Noordhuis
On Fri, Jul 8, 2016 at 7:56 AM, Abhishek Singh wrote: > Is it a requirement that all interceptor functions passed to > "NamedPropertyHandlerConfiguration" need to be static? Looking at couple of > examples, it looks pretty restrictive. > > This is how I've designed my application around v8. > > cl