Skip to content
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

add support for inheriting from C++ base classes in the C API #7

Open
anderslanglands opened this issue Nov 25, 2023 · 1 comment
Open

Comments

@anderslanglands
Copy link
Owner

We'll need to use the same sort of infrastructure as for stdfunction wrapping, but:

  • we'll need to generate trampolines for each virtual method in the base class we're inheriting from
  • the user will need to pass a virtual function table in to the generated constructors
@anderslanglands
Copy link
Owner Author

Initial support for this is added in babble-0.6 but needs further testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant