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

Provide access to wrenGetVariable() and wrenGetSlotHandle() #173

Merged

Conversation

ChayimFriedman2
Copy link
Contributor

wrenSetSlotNewForeign() cannot be used for something other than foreign allocator if they are not provided.

`wrenSetSlotNewForeign()` cannot be used for something other than foreign allocator if they are not provided.
@avivbeeri
Copy link
Collaborator

Please add these to the documentation also.

@ChayimFriedman2
Copy link
Contributor Author

Didn't see that.

@ChayimFriedman2 ChayimFriedman2 force-pushed the add-get-variable-slot-handle branch 2 times, most recently from aa5642a to 92e0a63 Compare February 18, 2021 13:08
@avivbeeri
Copy link
Collaborator

At this point, we should probably go through and add all the other relevant Wren VM functions which depend on the slot array:

  • WrenCall
  • WrenInterpret
  • wrenHasModule
  • wrenHasVariable
  • wrenSetSlotNewList
  • wrenSetSlotNewMap

And possibly others I missed?

@ChayimFriedman2
Copy link
Contributor Author

The methods in the PR are ones that I actually need in my plugin.

Others can be useful too, I don't know.

@avivbeeri
Copy link
Collaborator

I guess they can wait for now.

@avivbeeri avivbeeri merged commit 99effb4 into domeengine:develop Feb 22, 2021
@ChayimFriedman2 ChayimFriedman2 deleted the add-get-variable-slot-handle branch February 22, 2021 08:50
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

Successfully merging this pull request may close these issues.

None yet

2 participants