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

Make ScopedAllocCounter public and add documentation #204

Merged
merged 5 commits into from
Jan 15, 2025

Conversation

Zac8668
Copy link
Contributor

@Zac8668 Zac8668 commented Jan 9, 2025

Makes ScopedAllocCounter have some public functions so that it can be used externally.

Closes #152

@Zac8668
Copy link
Contributor Author

Zac8668 commented Jan 9, 2025

Not sure if this is the implementation we want or if it's all of it! Added a example for now that I got from #143 but I can make a more concise one, or maybe just a Doctest would suffice? Any examples to how this stuff is done on Copper are appreciated!

@gbin
Copy link
Collaborator

gbin commented Jan 12, 2025

yes simply

@gbin
Copy link
Collaborator

gbin commented Jan 12, 2025

Thanks!

@Zac8668 Zac8668 marked this pull request as ready for review January 12, 2025 03:34
@gbin gbin merged commit d5aa7e7 into copper-project:master Jan 15, 2025
7 checks passed
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.

Make the ScopedAllocCounter public and document it
2 participants