Using SetPointerInInternalField into GLOBAL object don't need SetInternalFieldCount, at last it works for my!! By the way, I tried that and doesn't work.
De: [email protected] [mailto:[email protected]] En nombre de Ondrej Žára Enviado el: lunes, 22 de febrero de 2010 21:57 Para: [email protected] Asunto: Re: [v8-users] Put a pointer (internalField) into several objects (no global) 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 -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
