Fix issue with fields trying to use wrong name (#12655)
* Fix issue with fields trying to use wrong name * Fix similar issue in winlean * Revert accidental csize change Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
This commit is contained in:
parent
6b4ea88734
commit
805186809c
2 changed files with 5 additions and 5 deletions
|
|
@ -428,8 +428,8 @@ type
|
|||
header: "<sys/socket.h>",
|
||||
pure, final.} = object ## struct sockaddr_storage
|
||||
ss_family*: TSa_Family ## Address family.
|
||||
ss_padding: array[128 - sizeof(cshort) - sizeof(culong), char]
|
||||
ss_align: clong
|
||||
ss_padding {.importc: "__ss_padding".}: array[128 - sizeof(cshort) - sizeof(culong), char]
|
||||
ss_align {.importc: "__ss_align".}: clong
|
||||
|
||||
Tif_nameindex* {.importc: "struct if_nameindex", final,
|
||||
pure, header: "<net/if.h>".} = object ## struct if_nameindex
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue