Hi,

I have a "class" (a Point of course)

        v8::Handle<v8::FunctionTemplate> _classTemplate =
v8::FunctionTemplate::New();
        _classTemplate->SetClassName(v8::String::New("Point"));
        _classTemplate->SetCallHandler(ConstructPoint);


v8::Handle<v8::Value> ConstructPoint(const v8::Arguments& args)
{
}

How can I check that an args (ex. args[0]) is an instance of a certain
"class"  (ex Point) ?

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

Reply via email to