At v8test.cpp:59 I have a bug. It does not surface in this sample, but
causes weird behavior in my big program, so:

<     pointtemplate = *pointFunctionTemplate;
---
>     pointtemplate = Persistent<FunctionTemplate>::New(pointFunctionTemplate);

What is the semantics of Persistent<T>(Handle<S>) and
Persistent<T>(S*)  constructors?
The behavior is totally different from Persistent<T>::New(Handle<S>).
I've got into this trap twice.

On Oct 8, 10:44 am, Victor Grishchenko <[EMAIL PROTECTED]>
wrote:
> On Oct 7, 2008, at 10:42 PM, Ben Nolan wrote:
>
> > hi victor, study Jacobs example it works correctly with javascript  
> > extensions.
>
> Cool. It works. I added an example of object wrapping.

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

Reply via email to