Improved type system
This commit is contained in:
@ -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)
|
||||
}
|
Reference in New Issue
Block a user