Added placeholders for type casts
This commit is contained in:
parent
bbf2970c4e
commit
ae6530aadb
19 changed files with 61 additions and 42 deletions
|
@ -1,6 +1,6 @@
|
|||
import sys
|
||||
|
||||
bind(socket int, port int) -> int {
|
||||
bind(socket int, port uint16) -> int {
|
||||
addr := new(sys.sockaddr_in)
|
||||
addr.sin_family = 2
|
||||
addr.sin_port = htons(port)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue