Use

a->SetPrototype(Null());

Regards,
Søren

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 ?
>
> Thanks,
> --
> Jorge.
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
>

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

Reply via email to