hi!

> > Hmm.. that sounds interesting though even after reading your article
> > I am not perfectly sure when that could happen? How could you ever
> > be able to "pass" something else into the Holder() value?
>
> var foo = new Foo();
> var bar = new Bar();
> bar.somefunc = foo.somefunc;
> bar.somefunc()
>
> segfault! (or at least an error)

Hmm.. but shouldn't a simple check on IsExternal() work out?
Anyway, my objects can not be constructed so that should be safe,
at least I hope so :-)

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

Reply via email to