Merge pull request #8981 from LemonBoy/fix-socket-reg
Fix regression due to type change
This commit is contained in:
commit
6dc6ea4146
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,7 @@ else:
|
||||||
|
|
||||||
type
|
type
|
||||||
Socklen* {.importc: "socklen_t", header: "<sys/socket.h>".} = cuint
|
Socklen* {.importc: "socklen_t", header: "<sys/socket.h>".} = cuint
|
||||||
TSa_Family* {.importc: "sa_family_t", header: "<sys/socket.h>".} = cushort
|
TSa_Family* {.importc: "sa_family_t", header: "<sys/socket.h>".} = cint
|
||||||
|
|
||||||
SockAddr* {.importc: "struct sockaddr", header: "<sys/socket.h>",
|
SockAddr* {.importc: "struct sockaddr", header: "<sys/socket.h>",
|
||||||
pure, final.} = object ## struct sockaddr
|
pure, final.} = object ## struct sockaddr
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue