diff options
| author | 2025-10-17 18:00:52 +0200 | |
|---|---|---|
| committer | 2025-10-17 18:30:36 +0200 | |
| commit | ffc76d36f985817a86ff73822e0ed268226737dd (patch) | |
| tree | 45b8c70a8e07e2abb3eef9f4e0a50d672b7e40bb /common.h | |
| parent | ed58941c2c5dc62d7c5703d4be205626f9c3389b (diff) | |
add -E preprocessing option
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -534,7 +534,7 @@ struct wbuf { char *buf; const uint cap; uint len; - const int fd; + int fd; bool err; }; @@ -578,6 +578,7 @@ void warn(const struct span *, const char *, ...); void note(const struct span *, const char *, ...); ushort *utf8to16(uint *ulen, struct arena **, const uchar *s, size_t len); uint *utf8to32(uint *ulen, struct arena **, const uchar *s, size_t len); +int utf8enc(char out[4], uint cp); #endif /* COMMON_H_ */ |