mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-16 08:04:07 +00:00
Minimal Dependency Map: Only build what is needed
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4245)
|
||||
|
||||
#include "utf8proc/utf8proc.h"
|
||||
// #define UTF8PROC_IMPLEMENTATION
|
||||
// #include "utf8proc/utf8proc_new.h"
|
||||
// #include "utf8proc/utf8proc.h"
|
||||
#include "utf8proc/utf8proc.c"
|
||||
|
||||
#pragma warning(pop)
|
||||
|
||||
// TODO(bill): Unicode support
|
||||
b32 rune_is_letter(Rune r) {
|
||||
if (r < 0x80 && gb_char_is_alpha(cast(char)r) || r == '_') {
|
||||
if ((r < 0x80 && gb_char_is_alpha(cast(char)r)) ||
|
||||
r == '_') {
|
||||
return true;
|
||||
}
|
||||
switch (utf8proc_category(r)) {
|
||||
|
||||
Reference in New Issue
Block a user