Improved type system
This commit is contained in:
parent
78f2670553
commit
6eab48c586
62 changed files with 189 additions and 172 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue