2010/1/27 Henrik Lindqvist <[email protected]>: > Since no one could answer: > http://groups.google.com/group/v8-users/browse_thread/thread/66b80bcaf7e4f404# > > I'll rephrase the question: > How can I inherit from an built-in object, like Date, Error etc, from C > ++ code? I see no way to get the FunctionTemplate from an Object. Is > there another way than using Inherit, or must I resort to executing JS > code?
Unfortunately there is no other way than to use JS code. You can't do this through the API. I have opened a feature request for this functionality to be added. http://code.google.com/p/v8/issues/detail?id=595 -- Erik Corry -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
