diff options
author | EuAndreh <eu@euandre.org> | 2024-06-04 10:21:00 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-06-04 10:21:00 -0300 |
commit | 6e7cd20640c5abcf7d4b54fe4dcc2942faa48ed0 (patch) | |
tree | 68a99f4a5ae82c99692be7516117853deff5284f /src/string.h | |
parent | src/vector.h: Add vector_capacity() (diff) | |
download | pindaiba-6e7cd20640c5abcf7d4b54fe4dcc2942faa48ed0.tar.gz pindaiba-6e7cd20640c5abcf7d4b54fe4dcc2942faa48ed0.tar.xz |
src/string.h: Separate string_equals() from string_compare()
Diffstat (limited to 'src/string.h')
-rw-r--r-- | src/string.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/string.h b/src/string.h index e945b40..2ae5a98 100644 --- a/src/string.h +++ b/src/string.h @@ -13,7 +13,10 @@ void string_free(const struct String **const s); enum Comparison -string_equal(const struct String *const s1, const struct String *const s2); +string_compare(const struct String *const s1, const struct String *const s2); + +bool +string_equals(const struct String *const s1, const struct String *const s2); int string_append( |