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

support call-by-reference in wrapped functions #5185

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

ab9rf
Copy link
Member

@ab9rf ab9rf commented Jan 9, 2025

this should allow a function (or method) with call-by-reference parameters to be wrapped and exported to lua. the wrapper will translate an equivalent pointer type to the reference type (and throw if the pointer is null)

this should allow a function (or method) with call-by-reference parameters to be wrapped and exported to lua. the wrapper will translate an equivalent pointer type to the reference type (and throw if the pointer is null)
@myk002 myk002 merged commit d56ed40 into DFHack:develop Jan 10, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants