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

Add memswap() function to stdlib/mem.jou #528

Merged
merged 4 commits into from
Dec 11, 2024
Merged

Add memswap() function to stdlib/mem.jou #528

merged 4 commits into from
Dec 11, 2024

Conversation

Akuli
Copy link
Owner

@Akuli Akuli commented Dec 11, 2024

This function swaps the contents of two chunks of memory. It is intended to be used whenever you want to swap two variables.

I also documented the rest of mem.jou slightly better. #529

stdlib/mem.jou Outdated Show resolved Hide resolved
@Akuli Akuli merged commit 9a33db4 into main Dec 11, 2024
24 checks passed
@Akuli Akuli deleted the memswap2 branch December 11, 2024 22:57
@Akuli Akuli mentioned this pull request Dec 12, 2024
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.

1 participant