I have a class in JS source code.
function MyClass( ) {}
MyClass.prototype = {
myField : {},
myFunction : function( ) { ... }
}
I can get Handle on MyClass Function.
v8::Handle<v8::Function> func = v8::Handle<v8::Function>::Cast(context-
>Global()->Get(v8::String::New("MyClass")));
Can I get FunctionTemplate from this Function to set the call-handler
callback using SetCallHandler?
In that case, at creation of MyClass class instance in JavaScript I
could initialize myField as a external C++ class wrapper.
It's possible?
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users