diff options
Diffstat (limited to 'source/base/base_string.h')
| -rw-r--r-- | source/base/base_string.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/base/base_string.h b/source/base/base_string.h index 64a3162..189b38a 100644 --- a/source/base/base_string.h +++ b/source/base/base_string.h | |||
| @@ -47,4 +47,13 @@ string8_append_char(string8 *buf, u8 c) | |||
| 47 | buf->size += 1; | 47 | buf->size += 1; |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | read_only global_variable | ||
| 51 | string8 nil_string = | ||
| 52 | { | ||
| 53 | |||
| 54 | .data = NULL, | ||
| 55 | .size = 0, | ||
| 56 | |||
| 57 | }; | ||
| 58 | |||
| 50 | #endif /* BASE_STRING_H */ | 59 | #endif /* BASE_STRING_H */ |
