std.c.LC: mark enum as non-exhaustive
They are implementation-defined and can have values other than
hard-coded here. Also, standard permits other values not mentioned
there:
> Additional macro definitions, beginning with the characters LC_
> and an uppercase letter, may also be specified by the implementation.
Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
1 files changed, 1 insertions(+), 0 deletions(-)
lib
std
lib/std/c.zig+1
| ... | ... | @@ -1912,6 +1912,7 @@ pub const LC = enum(c_int) { |
| 1912 | 1912 | TELEPHONE = 10, |
| 1913 | 1913 | MEASUREMENT = 11, |
| 1914 | 1914 | IDENTIFICATION = 12, |
| 1915 | _, |
| 1915 | 1916 | }; |
| 1916 | 1917 | |
| 1917 | 1918 | pub extern "c" fn setlocale(category: LC, locale: ?[*:0]const u8) ?[*:0]const u8; |