Wow, thanks a lot! I tried Cast() before but that failed.

Am Mittwoch, 26. März 2014 09:48:01 UTC+1 schrieb Ben Noordhuis:
>
> On Wed, Mar 26, 2014 at 9:33 AM, danijar <[email protected] <javascript:>> 
> wrote: 
> > I just tried splitting the line into two lines. 
> > 
> >> Local<Function> function; 
> >> function = Handle<Function>::Cast(args[0]); 
> > 
> > 
> > The error already occurs at Local<Function> function;. What am I doing 
> > wrong? Other local handles can be created just fine. Changing Local to 
> > Handle doesn't work either. 
>
> args[0].As<Function>()? 
>

-- 
-- 
v8-users mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to