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

Introduce Vm::with to allow for calling functions inside of the vm #291

Merged
merged 1 commit into from
Nov 5, 2021

Conversation

udoprog
Copy link
Collaborator

@udoprog udoprog commented Nov 5, 2021

Introduces Vm::with as a public API for specifying which virtual machine to call a function inside. This maintains the necessary thread-locals to call the Value helper functions introduced earlier so that they can be publicly used.

Fixes #290

@udoprog udoprog merged commit 3acb03e into main Nov 5, 2021
@udoprog udoprog deleted the vm-with branch November 5, 2021 14:49
@pkolaczk
Copy link
Contributor

pkolaczk commented Nov 5, 2021

I confirm it works! Thank you so much!

@udoprog udoprog added the enhancement New feature or request label Nov 5, 2021
@udoprog
Copy link
Collaborator Author

udoprog commented Nov 5, 2021

Thanks for confirming!

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

Successfully merging this pull request may close these issues.

How to convert the return value into a STRING_DISPLAY string?
2 participants