TO THIS:

> obj.MakeWeak<*v8::Value, RJSLogFile*>(pIsolate, pFile, 
> RJSLogFile::JSLogFile_DestructorCallback);
>
> So it seams MakeWeak needs some extra special template magic...
>

It needs the parameters if you are passing a different type of persistent. 
 If you happened to have a Persistent<Object> and your callback signature 
were:

void callback(Isolate*, Persistent<*Object*>*, RJSLogFile*)

it should work as well without template parameters.


-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to