summaryrefslogtreecommitdiffstats
path: root/src/common/wcwidth.h
blob: 8d093da5204abf7b409a55daa66694f24ce58835 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include <stdint.h>

#if FF_ENABLE_WCWIDTH
int mk_wcwidth(uint32_t wc);
#else
static inline int mk_wcwidth(uint32_t wc) {
    (void) wc;
    return 1;
}
#endif