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 @alloc_ptr #28

Merged
merged 2 commits into from
Nov 14, 2023
Merged

add @alloc_ptr #28

merged 2 commits into from
Nov 14, 2023

Conversation

MasonProtter
Copy link
Owner

This adds an additional, lower level interface via @alloc_ptr that's like @alloc except it only takes a single argument, and is a simple wrapper around alloc_ptr!($buf, n).

Useful for cases where you don't care about arrays.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6afdcb3) 93.67% compared to head (ce66182) 93.75%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
+ Coverage   93.67%   93.75%   +0.07%     
==========================================
  Files           5        5              
  Lines         158      160       +2     
==========================================
+ Hits          148      150       +2     
  Misses         10       10              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MasonProtter MasonProtter merged commit 236d9f2 into main Nov 14, 2023
@MasonProtter MasonProtter deleted the alloc_ptr branch November 14, 2023 21:53
src/Bumper.jl Show resolved Hide resolved
src/Bumper.jl Show resolved Hide resolved
@MasonProtter
Copy link
Owner Author

oops, didn't proofread very carefully 😆

src/Bumper.jl Show resolved Hide resolved
Docstrings.md Show resolved Hide resolved
@MasonProtter MasonProtter mentioned this pull request Nov 14, 2023
@MasonProtter
Copy link
Owner Author

Thanks for the proofreading @jariji !

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.

3 participants