Improved type system

This commit is contained in:
2025-02-09 23:52:07 +01:00
parent 7634244c56
commit f19d9063a5
30 changed files with 132 additions and 85 deletions

View File

@ -9,7 +9,7 @@ socket(family Int, type Int, protocol Int) -> Int {
return syscall(41, family, type, protocol)
}
accept(fd Int, address Pointer, length Int) -> Int {
accept(fd Int, address *Any, length Int) -> Int {
return syscall(43, fd, address, length)
}
@ -21,6 +21,6 @@ listen(fd Int, backlog Int) -> Int {
return syscall(50, fd, backlog)
}
setsockopt(fd Int, level Int, optname Int, optval Pointer, optlen Int) -> Int {
setsockopt(fd Int, level Int, optname Int, optval *Any, optlen Int) -> Int {
return syscall(54, fd, level, optname, optval, optlen)
}