Add UCG library to Odin compiler

This commit is contained in:
Feoramund
2024-06-29 18:03:32 -04:00
parent d4e2fa0377
commit 8b305a4c67
3 changed files with 3320 additions and 0 deletions

View File

@@ -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"
}