summaryrefslogtreecommitdiffhomepage
path: root/include/stc/csview.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-09-05 13:01:50 +0200
committerTyge Løvset <[email protected]>2023-09-05 13:01:50 +0200
commit3628e4389ef9455960c42466487385fc228566c3 (patch)
treebf77c960cc44640485a47efb01d80a430747d586 /include/stc/csview.h
parent5e38c27f35d8916770a5e1f9a586c7d73e27bad1 (diff)
downloadSTC-modified-3628e4389ef9455960c42466487385fc228566c3.tar.gz
STC-modified-3628e4389ef9455960c42466487385fc228566c3.zip
Renamed (half) internal function cfasthash() => cbytehash().
Fixed missing parameter in call of i_hash().
Diffstat (limited to 'include/stc/csview.h')
-rw-r--r--include/stc/csview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/csview.h b/include/stc/csview.h
index a2d1e9f0..005f27de 100644
--- a/include/stc/csview.h
+++ b/include/stc/csview.h
@@ -170,7 +170,7 @@ STC_DEF intptr_t csview_find_sv(csview sv, csview search) {
}
STC_DEF uint64_t csview_hash(const csview *self)
- { return cfasthash(self->buf, self->size); }
+ { return cbytehash(self->buf, self->size); }
STC_DEF csview csview_substr_ex(csview sv, intptr_t pos, intptr_t n) {
if (pos < 0) {