authorgravatar for mattnite@protonmail.comMatt Knight <mattnite@protonmail.com> 2020-09-07 07:17:21-07:00
committergravatar for mattnite@protonmail.comMatt Knight <mattnite@protonmail.com> 2020-09-07 07:17:21-07:00
logcf3194804e1ac5654ba4082f615d57cff776b3a9
treea4bf81e65ade35a8616a95a82d64858e0dafde5f
parente7547eeefae5a8f095351c6ae889ee9cf82720cb
signaturelock-open Commit is signed but in an unrecognized format.

changed enums to lower case


1 files changed, 25 insertions(+), 25 deletions(-)

lib/std/os/linux/bpf/btf.zig+25-25
...@@ -56,22 +56,22 @@ pub const Type = packed struct {...@@ -56,22 +56,22 @@ pub const Type = packed struct {
5656
57/// For some kinds, Type is immediately followed by extra data57/// For some kinds, Type is immediately followed by extra data
58pub const Kind = enum(u4) {58pub const Kind = enum(u4) {
59 Unknown,59 unknown,
60 Int,60 int,
61 Ptr,61 ptr,
62 Array,62 array,
63 Struct,63 structure,
64 Union,64 kind_union,
65 Enum,65 enumeration,
66 Fwd,66 fwd,
67 Typedef,67 typedef,
68 Volatile,68 kind_volatile,
69 Const,69 constant,
70 Restrict,70 restrict,
71 Func,71 func,
72 FuncProto,72 funcProto,
73 Var,73 variable,
74 DataSec,74 dataSec,
75};75};
7676
77/// Int kind is followed by this struct77/// Int kind is followed by this struct
...@@ -80,9 +80,9 @@ pub const IntInfo = packed struct {...@@ -80,9 +80,9 @@ pub const IntInfo = packed struct {
80 unused: u8,80 unused: u8,
81 offset: u8,81 offset: u8,
82 encoding: enum(u4) {82 encoding: enum(u4) {
83 Signed = 1 << 0,83 signed = 1 << 0,
84 Char = 1 << 1,84 char = 1 << 1,
85 Bool = 1 << 2,85 boolean = 1 << 2,
86 },86 },
87};87};
8888
...@@ -125,15 +125,15 @@ pub const Param = packed struct {...@@ -125,15 +125,15 @@ pub const Param = packed struct {
125};125};
126126
127pub const VarLinkage = enum {127pub const VarLinkage = enum {
128 Static,128 static,
129 GlobalAllocated,129 global_allocated,
130 GlobalExtern,130 global_extern,
131};131};
132132
133pub const FuncLinkage = enum {133pub const FuncLinkage = enum {
134 Static,134 static,
135 Global,135 global,
136 Extern,136 external,
137};137};
138138
139/// Var kind is followd by a single Var struct to describe additional139/// Var kind is followd by a single Var struct to describe additional