Minimal Dependency Map: Only build what is needed

This commit is contained in:
Ginger Bill
2016-09-27 15:28:44 +01:00
parent 349badcf17
commit b593332942
18 changed files with 823 additions and 644 deletions

View File

@@ -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)) {