MasonProtter / Bumper.jl

Bring Your Own Stack
MIT License
152 stars 6 forks source link

add `@alloc_ptr` #28

Closed MasonProtter closed 8 months ago

MasonProtter commented 8 months ago

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 commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

Additional details and impacted files ```diff @@ 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 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

MasonProtter commented 8 months ago

oops, didn't proofread very carefully :laughing:

MasonProtter commented 8 months ago

Thanks for the proofreading @jariji !