diff options
| author | Tyge Løvset <[email protected]> | 2021-10-29 17:02:39 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-10-29 17:02:39 +0200 |
| commit | ead0b1d0c6cc724e7f2d7eb2ed9273dd7a18935f (patch) | |
| tree | c83eac9187b020e8510e3ee11e982a29f0c29152 /docs/csview_api.md | |
| parent | 9708235ec4147d2c0428c9ae5186fad452b116ad (diff) | |
| download | STC-modified-ead0b1d0c6cc724e7f2d7eb2ed9273dd7a18935f.tar.gz STC-modified-ead0b1d0c6cc724e7f2d7eb2ed9273dd7a18935f.zip | |
Swapped .._equals() and _equalto() functions for consistency
Diffstat (limited to 'docs/csview_api.md')
| -rw-r--r-- | docs/csview_api.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/csview_api.md b/docs/csview_api.md index 4295e4e9..4d80692d 100644 --- a/docs/csview_api.md +++ b/docs/csview_api.md @@ -45,7 +45,7 @@ csview csview_slice(csview sv, intptr_t p1, intptr_t p2); // negative p csview csview_first_token(csview sv, csview sep); // see split example below. csview csview_next_token(csview sv, csview sep, csview token); -bool csview_equalto(csview sv, csview sv2); +bool csview_equals(csview sv, csview sv2); size_t csview_find(csview sv, csview needle); bool csview_contains(csview sv, csview needle); bool csview_starts_with(csview sv, csview sub); @@ -79,7 +79,7 @@ bool cstr_ends_with_v(cstr s, csview sub); #### Helper methods ```c int csview_compare(const csview* x, const csview* y); -bool csview_equals(const csview* x, const csview* y); +bool csview_equalto(const csview* x, const csview* y); uint64_t csview_hash(const csview* x, ...); ``` ## Types |
