diff options
| author | Tyge Løvset <[email protected]> | 2021-06-10 23:28:25 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-06-10 23:28:25 +0200 |
| commit | 5c8fc711e839287935b4090a55079496901d4626 (patch) | |
| tree | cec6e9d057bc5f0e31304745b0389a7a10830e24 /examples | |
| parent | 9c42498b639976449cbeaaee33ed89df8971b6fd (diff) | |
| download | STC-modified-5c8fc711e839287935b4090a55079496901d4626.tar.gz STC-modified-5c8fc711e839287935b4090a55079496901d4626.zip | |
Renamed cstr/csview begin_with() to starts_with() : following c++ std namings.
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 07a6b8d4..72bdd2d2 100644 --- a/examples/cstr_match.c +++ b/examples/cstr_match.c @@ -8,7 +8,7 @@ int main() 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("icontains: %d\n", cstr_icontains(ss, "uMPS Ove"));
- printf("ibegins_with: %d\n", cstr_ibegins_with(ss, "The Quick Brown"));
+ printf("istarts_with: %d\n", cstr_istarts_with(ss, "The Quick Brown"));
printf("iends_with: %d\n", cstr_iends_with(ss, ".Jpg"));
printf("ends_with: %d\n", cstr_ends_with(ss, ".JPG"));
}
|
