Rename string_clean in string_reset to avoid confusing _clean & _clear functions. See #97

This commit is contained in:
Patrick Pelissier committed 2021-10-28 17:27:41 +02:00
1 parent ae6b87d646
commit 9176953a8e
4 files changed
+33 -20

No files matched your search

+2 -2
View File
@@ -5212,9 +5212,9 @@ representing a C string, giving back ownership of this array to the caller.
This array will have to be freed. It can return NULL if no array
was allocated by the string.
##### void string\_clean(string\_t str)
##### void string\_reset(string\_t str)
Set the string 'str' to an empty string.
Reset the string 'str' to an empty string.
##### size\_t string\_size(const string\_t str)