On Fri, Feb 22, 2013 at 11:26 PM, Flying Jester <foolkingcr...@gmail.com>wrote:

> This obviously doesn't work with a 1 to 1 replacement with the aligned
> version of the function.
>

Welcome to the club :). What i ended up doing (because the Aligned version
kept inexplicably asserting when given pointers allocated with (new T)),
was to use an explicit v8::External wrapper to hold my pointer and
replacing the PointerTo/FromInternalField calls with the "normal"
InternalFields calls.

Example usages:
set:
https://code.google.com/p/v8-juice/source/browse/convert/include/cvv8/ClassCreator.hpp#776
get:
https://code.google.com/p/v8-juice/source/browse/convert/include/cvv8/ClassCreator.hpp#603

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
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 v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to