diff options
author | Runxi Yu <me@runxiyu.org> | 2025-04-03 10:46:27 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-04-03 10:46:27 +0800 |
commit | 94b20e3128eaac566abfd7c0c773bb4c076c453e (patch) | |
tree | 5f399609fc0ca64f0fc28be1c6f8cb2ead84d71d /git2d/utf8.h | |
parent | git2d: Import BARE and UTF-8 utilities (diff) | |
download | forge-94b20e3128eaac566abfd7c0c773bb4c076c453e.tar.gz forge-94b20e3128eaac566abfd7c0c773bb4c076c453e.tar.zst forge-94b20e3128eaac566abfd7c0c773bb4c076c453e.zip |
git2d: Use extern inline for utf8_decode
Diffstat (limited to '')
-rw-r--r-- | git2d/utf8.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git2d/utf8.h b/git2d/utf8.h index 894cbd5..56c6285 100644 --- a/git2d/utf8.h +++ b/git2d/utf8.h @@ -26,7 +26,7 @@ * occurs, this pointer will be a guess that depends on the particular * error, but it will always advance at least one byte. */ -static void * +inline void * utf8_decode(void *buf, uint32_t *c, int *e) { static const char lengths[] = { |