mirror of
https://github.com/vlang/v.git
synced 2025-09-16 16:02:29 +03:00
all: update attributes to use new syntax
This commit is contained in:
parent
dd81cb98c6
commit
757929392e
739 changed files with 2982 additions and 2982 deletions
|
@ -46,7 +46,7 @@ mut:
|
|||
sun_path [max_unix_path]char
|
||||
}
|
||||
|
||||
[_pack: '1']
|
||||
@[_pack: '1']
|
||||
pub struct Ip6 {
|
||||
port u16
|
||||
flow_info u32
|
||||
|
@ -54,7 +54,7 @@ pub struct Ip6 {
|
|||
scope_id u32
|
||||
}
|
||||
|
||||
[_pack: '1']
|
||||
@[_pack: '1']
|
||||
pub struct Ip {
|
||||
port u16
|
||||
addr [4]u8
|
||||
|
@ -70,7 +70,7 @@ pub struct Unix {
|
|||
path [max_unix_path]char
|
||||
}
|
||||
|
||||
[_pack: '1']
|
||||
@[_pack: '1']
|
||||
pub struct Addr {
|
||||
pub:
|
||||
len u8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue