Improved type system

This commit is contained in:
2025-02-17 14:31:47 +01:00
parent 3550f9e24e
commit b8e37fafae
62 changed files with 189 additions and 172 deletions

View File

@ -11,7 +11,7 @@ const clone {
io 0x80000000
}
create(func *Any) -> Int {
create(func *any) -> int {
size := 4096
stack := sys.mmap(0, size, 0x1|0x2, 0x02|0x20|0x100|0x20000)
stack += size

View File

@ -1,7 +1,7 @@
extern kernel32 {
CreateThread(attributes Int, stackSize Int, address *Any, parameter Int) -> Int
CreateThread(attributes int, stackSize int, address *any, parameter int) -> int
}
create(func *Any) -> Int {
create(func *any) -> int {
return kernel32.CreateThread(0, 4096, func, 0)
}