diff options
| author | Tyge Løvset <[email protected]> | 2021-08-28 15:49:42 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-08-28 15:49:42 +0200 |
| commit | 28bf4ac92625b2ec7c4ddade9c14a4363ebd2681 (patch) | |
| tree | 580ec2fa435464e18505a9bb0b30720bde2340ca /examples | |
| parent | 4c9ad3e584feff277800e1dfe49ae470e3c4a9c4 (diff) | |
| download | STC-modified-28bf4ac92625b2ec7c4ddade9c14a4363ebd2681.tar.gz STC-modified-28bf4ac92625b2ec7c4ddade9c14a4363ebd2681.zip | |
Breaking change cstr and csview renames in order to improve consistency:
cstr_equals() => cstr_equalto()
cstr_compare_ref() => cstr_compare()
cstr_equals_ref() => cstr_equals()
cstr_hash_ref() => cstr_hash()
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/cstr_match.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cstr_match.c b/examples/cstr_match.c index 72bdd2d2..a4dbe8d8 100644 --- a/examples/cstr_match.c +++ b/examples/cstr_match.c @@ -6,7 +6,7 @@ int main() c_forvar (cstr ss = cstr_lit("The quick brown fox jumps over the lazy dog.JPG"), cstr_del(&ss)) {
size_t pos = cstr_find_n(ss, "brown", 0, 5);
printf("%zu [%s]\n", pos, pos == cstr_npos ? "<NULL>" : &ss.str[pos]);
- printf("iequals: %d\n", cstr_iequals(ss, "the quick brown fox jumps over the lazy dog.jpg"));
+ printf("iequals: %d\n", cstr_iequalto(ss, "the quick brown fox jumps over the lazy dog.jpg"));
printf("icontains: %d\n", cstr_icontains(ss, "uMPS Ove"));
printf("istarts_with: %d\n", cstr_istarts_with(ss, "The Quick Brown"));
printf("iends_with: %d\n", cstr_iends_with(ss, ".Jpg"));
|
