diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-02-14 15:19:29 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-02-14 15:19:29 +0000 |
| commit | d1f65097c48afe6d869949cc5ede76a8b14401a9 (patch) | |
| tree | 6ff3ef199e46edd8998d7492361c52d188be1df6 /src/string.c | |
| parent | 74d15ab84b39a83285953b963f1637956f091f45 (diff) | |
Fix immutable rules; add some general documentation
immutable is still a little weird and not completely what you'd expect. Maybe just not having it is better.
Diffstat (limited to 'src/string.c')
| -rw-r--r-- | src/string.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/string.c b/src/string.c index 38874a7d5..19161de93 100644 --- a/src/string.c +++ b/src/string.c @@ -19,6 +19,7 @@ typedef struct String { #define str_lit(c_str) (String){cast(u8 *)c_str, gb_size_of(c_str)-1} +// NOTE(bill): String16 is only used for Windows due to its file directories typedef struct String16 { wchar_t *text; isize len; |