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

@ -1,23 +1,23 @@
getcwd(buffer Pointer, length Int) -> Int {
getcwd(buffer *Any, length Int) -> Int {
return syscall(79, buffer, length)
}
chdir(path Pointer) -> Int {
chdir(path *Any) -> Int {
return syscall(80, path)
}
rename(old Pointer, new Pointer) -> Int {
rename(old *Any, new *Any) -> Int {
return syscall(82, old, new)
}
mkdir(path Pointer, mode Int) -> Int {
mkdir(path *Any, mode Int) -> Int {
return syscall(83, path, mode)
}
rmdir(path Pointer) -> Int {
rmdir(path *Any) -> Int {
return syscall(84, path)
}
unlink(file Pointer) -> Int {
unlink(file *Any) -> Int {
return syscall(87, file)
}