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

chore: add bindings to length_unsafe #20

Closed
wants to merge 1 commit into from
Closed

Conversation

zshipko
Copy link
Contributor

@zshipko zshipko commented Jan 3, 2024

No description provided.

Copy link
Contributor

@G4Vi G4Vi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. However, I could also incorporate this into #18 In there since I made extism_length take an ExtismHandle, I was thinking making extism_length map to importing length_unsafe and adding extism_length_checked or extism_length_safe which would take an ExtismPointer and map to length. Given that no one should be performing arithmetic on an ExtismHandle, I figured it would be reasonable.

@zshipko
Copy link
Contributor Author

zshipko commented Jan 3, 2024

@G4Vi we can just skip this PR then - thank you!

@zshipko zshipko closed this Jan 3, 2024
@zshipko zshipko deleted the length-unsafe branch January 3, 2024 22:59
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.

2 participants