diff options
| author | Tyge Løvset <[email protected]> | 2022-10-28 10:00:35 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-10-28 10:00:35 +0200 |
| commit | d63c37c043024854cfb4b63495e8f5ca3fc03ecd (patch) | |
| tree | 14c781006a0575c7f2b7515dc5742daaeb916973 /examples | |
| parent | 0243b64f830f55b924274cbc63f5dd1ed518c26f (diff) | |
| download | STC-modified-d63c37c043024854cfb4b63495e8f5ca3fc03ecd.tar.gz STC-modified-d63c37c043024854cfb4b63495e8f5ca3fc03ecd.zip | |
Renamed some semi-internal functions which appeared to be macros by their name.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/vikings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vikings.c b/examples/vikings.c index 4830afdc..a1099d28 100644 --- a/examples/vikings.c +++ b/examples/vikings.c @@ -36,7 +36,7 @@ static inline RViking Viking_toraw(const Viking* vp) { #define i_rawclass RViking // lookup type #define i_keyfrom Viking_from #define i_opt c_no_clone -#define i_hash(rp) c_strhash(rp->name) ^ c_strhash(rp->country) +#define i_hash(rp) cstrhash(rp->name) ^ cstrhash(rp->country) #define i_val int // mapped type #include <stc/cmap.h> /* |
