diff options
| author | Tadeo Kondrak <me@tadeo.ca> | 2020-08-27 15:00:15 -0600 |
|---|---|---|
| committer | Tadeo Kondrak <me@tadeo.ca> | 2020-08-27 15:11:33 -0600 |
| commit | f94583076ee517be311df6c70654e0cc41bf2b16 (patch) | |
| tree | 52a4680edbd6882cc9990f373fd2cdf4b9cc0f20 /lib/libc/include/mips-linux-gnu/bits | |
| parent | f6cedfaaca2a1ca22786b32aa76ef6348b74ac38 (diff) | |
| download | zig-f94583076ee517be311df6c70654e0cc41bf2b16.tar.gz zig-f94583076ee517be311df6c70654e0cc41bf2b16.zip | |
std.meta.TrailerFlags: use @Type to improve API
- Use an enum of all field names instead of string literals
- Create a struct type with all fields optional instead of relying on
anonymous struct literals
This should provide better type inference, compile errors, and a
(subjectively) cleaner API.
Diffstat (limited to 'lib/libc/include/mips-linux-gnu/bits')
0 files changed, 0 insertions, 0 deletions
