Have you also prepared some good amount of internal fields on your objects?
(InstanceTemplate()->SetInternalFieldCount())



O.


2010/2/22 Seiji Sam Lee <[email protected]>

> Hi, everybody:
>
> I have a template as this:
>
>        GLOBAL
>          |
>          +---- A
>              |
>              +--- B
>              |
>              +--- C
>
> Where A, B and C are ObjectTemplate
>
> I can put a pointer (SetPointerInInternalField) in GLOBAL, but all my work
> to put a pointer into **objects** a, b or c cause a segment fault.
>
> This fault is done after context be created. All samples show how to put a
> pointer into the GLOBAL object, but is not easily to deduce the way to put
> a
> pointer in every object of the template.
>
> Put a pointer into GLOBAL object is well documented an clear.
>
> I need help :-(
>
>
>
> --
> 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