On 03/12/2010, at 12:12, Søren Gjesse wrote:
> 
> On Fri, Dec 3, 2010 at 11:10, Jorge <[email protected]> wrote:
>> Hi,
>> 
>> I'm trying to emulate this JS in C:
>> 
>> a= {};
>> a.__proto__= null;
>> 
>> Local<Object> a= Object::New();
>> a->SetPrototype(NULL);
>> 
>> How can I do it ?
> 
> Use
> 
> a->SetPrototype(Null());

Thanks !
-- 
Jorge.

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

Reply via email to