#import search rule: relative then core/

This commit is contained in:
Ginger Bill committed 2016-09-17 22:42:09 +01:00
1 parent 67694c0df0
commit 2d6171f3e5
10 files changed
+81 -1621

No files matched your search

+2 -1
View File
@@ -13,8 +13,9 @@ typedef struct String {
gb_inline String make_string(u8 *text, isize len) {
String s;
s.text = text;
if (len < 0)
if (len < 0) {
len = gb_strlen(cast(char *)text);
}
s.len = len;
return s;
}