Hello,
Basically I would like to be able to have instanceof working on objects 
that implement native bindings. If I create the object in C++ via 
Function::NewInstance(), then this works as expected. However, I want to be 
able to create an object both via the js constructor, and in C++ code 
without the C++ code calling the js constructor (which happend if I use 
Function::NewInstance()). Is it possible to do that? I tried to instantiate 
the object from the constructor's prototype template, via 
ctorFunc->PrototypeTemplate()->NewIsntance(), but this does not do the job 
and instanceof does not recognize the object as created by this 
constructor. Any ideas?
Thanks
Alex

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

Reply via email to