[v8-users] Inheriting a C++ class in JavaScript

2018-02-02 Thread Cvetan Stefanovski
Hello, I am using V8 to expose a C++ API to JavaScript, and I have a use-case where one would need to have a JavaScript class that inherit from a C++ class. I've seen from V8 test code how they test the inheritance thing there, but I couldn't find anything that was specific to my case. I've

[v8-users] Re: Inheriting a C++ class in JavaScript

2018-02-06 Thread Cvetan Stefanovski
I've tried that already and it's same result. I cannot get past that IsConstructCall check no matter what I do. So clearly I miss something when building the templates. V8 documentation is vague, almost non-existent for complex cases like this, so not helpful at all... -- -- v8-users