Skip to content

Commit

Permalink
Rename strcspn parameter (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli authored Jan 28, 2025
1 parent 4bb8e34 commit a0efb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/str.jou
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ declare strspn(s: byte*, accept: byte*) -> long
# Return how many bytes at start of s do not appear in the reject string.
# For example, you can use strcspn(s, "\n") to get the length of the first line.
@public
declare strcspn(s: byte*, accept: byte*) -> long
declare strcspn(s: byte*, reject: byte*) -> long

# Copy a string. Assumes it fits. Returned value is dest.
@public
Expand Down

0 comments on commit a0efb7f

Please sign in to comment.