diff options
| author | Tyge Løvset <[email protected]> | 2023-09-05 18:10:14 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-09-05 18:10:14 +0200 |
| commit | 493c34e9c2de0587f38681340db8f2735e72d7dd (patch) | |
| tree | 158838cfe8a4a59d258a9a5817faf2a18808ff38 /include/stc/priv | |
| parent | 3628e4389ef9455960c42466487385fc228566c3 (diff) | |
| download | STC-modified-493c34e9c2de0587f38681340db8f2735e72d7dd.tar.gz STC-modified-493c34e9c2de0587f38681340db8f2735e72d7dd.zip | |
Renamed (half)internal functions:
cfasthash() => stc_hash()
cstrhash() => stc_strhash()
cnextpow2() => stc_nextpow2()
Diffstat (limited to 'include/stc/priv')
| -rw-r--r-- | include/stc/priv/cqueue_imp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/priv/cqueue_imp.h b/include/stc/priv/cqueue_imp.h index 2ad9c811..18c1bb15 100644 --- a/include/stc/priv/cqueue_imp.h +++ b/include/stc/priv/cqueue_imp.h @@ -54,7 +54,7 @@ STC_DEF bool _cx_MEMB(_reserve)(_cx_Self* self, const intptr_t n) { if (n <= self->capmask) return true; - intptr_t oldcap = self->capmask + 1, newcap = cnextpow2(n + 1); + intptr_t oldcap = self->capmask + 1, newcap = stc_nextpow2(n + 1); _cx_value* d = (_cx_value *)i_realloc(self->data, newcap*c_sizeof *self->data); if (!d) return false; |
