Improved type system

This commit is contained in:
Eduard Urbach 2025-02-17 14:31:47 +01:00
parent 78f2670553
commit 6eab48c586
Signed by: eduard
GPG key ID: 49226B848C78F6C8
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)
}