On Wed, Jun 9, 2010 at 7:17 PM, vlad vladbph <[email protected]> wrote:

> true for JS side, but I would like to check the inheritance from simple
> types on C++ . I can use ObjectProtoToString() for that I guess. Another way
> I can request global instanceof, but how to pass obj and type correctly to
> it...
>
>         v8::Handle<v8::Value> iof = g->Get(v8::String::New("instanceof"));
>

instanceof is not a function, but a language construct. You won't be able to
get at it, i think, in the same way that you can't get a reference to
"function".

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/

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

Reply via email to