Oddly enough, getting the ObjectTemplate from a FunctionTemplate
instead of instanciating directly fixed the problem wit the stable
release (have not tried the bleeding edge yet).

        v8::Handle<FunctionTemplate>   fun_template =
v8::FunctionTemplate::New();
        v8::Handle<ObjectTemplate>      point_templ   = fun_template-
>InstanceTemplate();

instead of

      v8::Handle<v8::ObjectTemplate>  point_templ =
v8::ObjectTemplate::New();

Thanks !

 -- Sébastien

On 28 sep, 07:15, "Bryan White" <[EMAIL PROTECTED]> wrote:
> > Any idea why this happens ?
>
> This may be the same problem I had in this thread:
>     Object Internal Field Count is Lost
>
> This ended up as issue 54
>    http://code.google.com/p/v8/issues/detail?id=54
> Which is marked as fixed in 'bleeding edge'.  My recollection is the
> fix appeared in the release version a few days later.
>
> Makes me think you just need to update to a the newest release to fix
> the problem.  If you are already running a new version then I don't
> know what the problem may be.
> --
> Bryan White
--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to