authorgravatar for bratishkaerik@landless-city.netEric Joldasov <bratishkaerik@landless-city.net> 2024-07-16 00:32:29+05:00
committergravatar for bratishkaerik@landless-city.netEric Joldasov <bratishkaerik@landless-city.net> 2024-07-16 00:32:29+05:00
log5af68a651c1f923286ffcd014ef540ab13d26c45
tree16357cd5e7912f05f1f8fd11c2b5354dffb38f70
parentece8480fc2190229721bf1690116fa6d767f4c0e
signaturelock-open Commit is signed but in an unrecognized format.

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/c.zig+1
...@@ -1912,6 +1912,7 @@ pub const LC = enum(c_int) {...@@ -1912,6 +1912,7 @@ pub const LC = enum(c_int) {
1912 TELEPHONE = 10,1912 TELEPHONE = 10,
1913 MEASUREMENT = 11,1913 MEASUREMENT = 11,
1914 IDENTIFICATION = 12,1914 IDENTIFICATION = 12,
1915 _,
1915};1916};
19161917
1917pub extern "c" fn setlocale(category: LC, locale: ?[*:0]const u8) ?[*:0]const u8;1918pub extern "c" fn setlocale(category: LC, locale: ?[*:0]const u8) ?[*:0]const u8;