diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2024-07-01 11:03:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-01 11:03:29 +0100 |
| commit | fb0b95bcadeb60555920c9f3c8ecd2467c71bf83 (patch) | |
| tree | e14eb158c33e7b9d088dc8d3cb797a840df5ec12 /src/unicode.cpp | |
| parent | 1a4edad63e45f91e8ef45836868ba8285a4e8f09 (diff) | |
| parent | 8ed5cb283b5039693e96d6f47eea6213194d6cbe (diff) | |
Merge pull request #3760 from Feoramund/refactor-show-error-on-line
Refactor `show_error_on_line`
Diffstat (limited to 'src/unicode.cpp')
| -rw-r--r-- | src/unicode.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/unicode.cpp b/src/unicode.cpp index c244a323c..665d5b182 100644 --- a/src/unicode.cpp +++ b/src/unicode.cpp @@ -162,3 +162,8 @@ end: if (codepoint_out) *codepoint_out = codepoint; return width; } + +// NOTE(Feoramund): It's down here because I made UCG use the utf8_decode above to avoid duplicating code. +extern "C" { +#include "ucg/ucg.c" +} |