Then is this safe?

 

JCALLBACK(_start) //start()

{

 .

 return v8::Undefined();

}

 

 

De: [email protected] [mailto:[email protected]] En nombre
de Ondrej Žára
Enviado el: miércoles, 24 de marzo de 2010 11:37
Para: [email protected]
Asunto: Re: [v8-users] is this correct?

 

Hi,

if I am not mistaken, a handle scope is automatically created for every JS
callback, so you do not need to create one.


O.



2010/3/23 Seiji Sam Lee <[email protected]>

Is this correct?

 

JCALLBACK(_start) //start()

{

 HandleScope hscope;

 .

 return hscope.Close(v8::Undefined());

}

 

I have the doubt if it is, because the 'Undefined' scope . maybe it must be:

 

JCALLBACK(_start) //start()

{

 HandleScope hscope;

 .

 return v8::Undefined();

}

 

Thanks in advance

 

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
 
To unsubscribe from this group, send email to
v8-users+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.

 

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
 
To unsubscribe from this group, send email to
v8-users+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

To unsubscribe from this group, send email to 
v8-users+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to