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

Allow pointer values with DieStampAt callback #107

Merged
merged 1 commit into from
Aug 1, 2023
Merged

Conversation

scothis
Copy link
Collaborator

@scothis scothis commented Aug 1, 2023

The callback function can accept an argument of a compatible type, or a pointer to that type. Using the pointer type is useful to be able to in-place replace a value, or mutate a struct in a slice.

The callback function can accept an argument of a compatible type, or
a pointer to that type. Using the pointer type is useful to be able to
in-place replace a value, or mutate a struct in a slice.

Signed-off-by: Scott Andrews <[email protected]>
@codecov
Copy link

codecov bot commented Aug 1, 2023

Codecov Report

Merging #107 (b37131e) into main (14089ff) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #107   +/-   ##
=======================================
  Coverage   10.31%   10.31%           
=======================================
  Files          64       64           
  Lines        3152     3152           
=======================================
  Hits          325      325           
  Misses       2824     2824           
  Partials        3        3           

@scothis scothis merged commit b21707f into main Aug 1, 2023
3 checks passed
@scothis scothis deleted the stamp-at-ptr branch August 1, 2023 02:29
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