diff options
Diffstat (limited to 'docs/csview_api.md')
| -rw-r--r-- | docs/csview_api.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/csview_api.md b/docs/csview_api.md index 70bc9b41..dfca37c5 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_equals(csview sv, csview sv2); +bool csview_equalto(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); @@ -78,9 +78,9 @@ bool cstr_ends_with_v(cstr s, csview sub); ``` #### Helper methods ```c -int csview_compare_ref(const csview* x, const csview* y); -bool csview_equals_ref(const csview* x, const csview* y); -uint64_t csview_hash_ref(const csview* x, size_t ignored); +int csview_compare(const csview* x, const csview* y); +bool csview_equals(const csview* x, const csview* y); +uint64_t csview_hash(const csview* x, ...); ``` ## Types |
