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

Incorrect vtbl offsets for classes with virtual destructors #206

Open
zeule opened this issue Jun 25, 2021 · 2 comments
Open

Incorrect vtbl offsets for classes with virtual destructors #206

zeule opened this issue Jun 25, 2021 · 2 comments

Comments

@zeule
Copy link

zeule commented Jun 25, 2021

The tool ignores <Destructor> elements in the CastXML output, which leads to wrong vtbl offsets if the destructor is virtual.

@AronRubin
Copy link

I am also experiencing the same issue. I suspect this is my biggest hurdle right now.

@AronRubin
Copy link

Unfortunately, offset-translate has no effect on the indices used either. Oddly the correct offsets were not what I anticipated. It absolutely works when I manually edit SharpGen.Bindings.g.cs though so great work on this framework!

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

2 participants