I am trying to use the node object wrap 
from https://github.com/joyent/node/blob/master/src/node_object_wrap.h
to cleanup native objects when they are not referenced by JS anymore.
Trying to extend the ObjectWrap class gives me the following error though:

error: assigning to 'v8::Object *volatile' from incompatible type 
'v8::Value *'

Building with libc++ and clang in xcode on osx 10.9 with the latest master 
branch from the github repo.
Tried "stable" branches as well. I also tried any possible way to use 
persistent::setWeak() with a callback,
none of which seems to work without failing when checking for NEAR_DEATH != 
false.

-- 
-- 
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/d/optout.

Reply via email to