aboutsummaryrefslogtreecommitdiff
path: root/src/unicode.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2024-07-01 11:03:29 +0100
committerGitHub <noreply@github.com>2024-07-01 11:03:29 +0100
commitfb0b95bcadeb60555920c9f3c8ecd2467c71bf83 (patch)
treee14eb158c33e7b9d088dc8d3cb797a840df5ec12 /src/unicode.cpp
parent1a4edad63e45f91e8ef45836868ba8285a4e8f09 (diff)
parent8ed5cb283b5039693e96d6f47eea6213194d6cbe (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.cpp5
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"
+}