-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to map the inheritance relationship of C ++ classes to JavaScript #956
Comments
My C++ code class Base {
void print() {
cout << "Base::print" << endl;
}
};
class Derived : public Base {
}; My JavaScript Code let derived = new Derived();
derived.print(); What I expect
What actually happened
|
This is the correct syntax i guess |
@sambhavsaxena sorry, you guessed wrong😂 |
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
Is there any progress on this issue now? |
I went over the issue about inheritance #229, have not found a valid way to implement inheritance.
It is 2021 now. What's the progress of node-addon-api supporting inheritance?
I would appreciate it if I could get a direct solution
The text was updated successfully, but these errors were encountered: