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

Change seq.Slice.Wrap function signature to take a pointer #418

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mcy
Copy link
Member

@mcy mcy commented Jan 8, 2025

This slightly generalizes the API, since it allows seq.Slice users to return values that reference the wrapped slice by pointer. This is not used in the AST package at the moment, but it will be useful for the IR package.

@mcy mcy requested a review from jhump January 8, 2025 16:16
@mcy mcy changed the title Pass the argument to a seq.Slice.Wrap by pointer Pass_ the argument to a seq.Slice.Wrap by pointer Jan 8, 2025
@jhump jhump changed the title Pass_ the argument to a seq.Slice.Wrap by pointer Change seq.Slice.Wrap function signature to take a pointer Jan 10, 2025
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