Skip to content

Cannot produce a Lua language binding for ModuleInstance::instantiate() due to ownership restrictions #10

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

Closed
drauschenbach opened this issue Mar 12, 2024 · 0 comments · Fixed by #9

Comments

@drauschenbach
Copy link
Contributor

Because this function requires taking ownership of arguments, it prevents any language bindings from being produced where a wrapper struct makes ownership passing impossible.

Easily solved by making a few structs cloneable.

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