Consider abstracting strlen
into a safer function #56
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Telodendria/Cytoplasm#56
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, the only real way to have a C string's length within Cytoplasm is the standard
strlen
function. However, this function is not required to do any NULL-checking, thus leading to potential pitfalls which should be avoided within Cytoplasm itself, and hence why a function likeStrSize
may be wanted within Cytoplasm(even if it simply adds a check beforehand).Then again, this issue may be made non-relevant by #4 (I have already made some basic work for Unicode strings that I've left under CC0, will consider using that as a base for this issue)