diff options
| author | Tyge Løvset <[email protected]> | 2023-02-05 18:21:17 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-02-05 18:21:17 +0100 |
| commit | 217865ae413f9cfcc72af176ec7e98f418bddbea (patch) | |
| tree | e862dddb60fe69fbdb91b14de1f4e44cd7088b43 /include/stc/csview.h | |
| parent | b21be5762a5037abbd9aa820d204f0825382194d (diff) | |
| download | STC-modified-217865ae413f9cfcc72af176ec7e98f418bddbea.tar.gz STC-modified-217865ae413f9cfcc72af176ec7e98f418bddbea.zip | |
Fixed linking parameters i_extern.
Diffstat (limited to 'include/stc/csview.h')
| -rw-r--r-- | include/stc/csview.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/csview.h b/include/stc/csview.h index a30672cd..aa519fec 100644 --- a/include/stc/csview.h +++ b/include/stc/csview.h @@ -159,7 +159,7 @@ STC_INLINE bool csview_eq(const csview* x, const csview* y) STC_API uint64_t csview_hash(const csview *self); /* -------------------------- IMPLEMENTATION ------------------------- */ -#if defined(i_implement) +#if defined(i_static) || defined(i_extern) STC_DEF intptr_t csview_find_sv(csview sv, csview search) { char* res = cstrnstrn(sv.str, search.str, sv.size, search.size); |
