Modified const and extern to always use blocks
This commit is contained in:
parent
4c90b6ea6a
commit
51fc0a1272
16 changed files with 164 additions and 90 deletions
|
@ -1,7 +1,9 @@
|
|||
kernel32 extern {
|
||||
CreateThread(attributes int, stackSize int, address *any, parameter int) -> int
|
||||
}
|
||||
|
||||
create(func *any) -> int {
|
||||
return kernel32.CreateThread(0, 4096, func, 0)
|
||||
}
|
||||
|
||||
extern {
|
||||
kernel32 {
|
||||
CreateThread(attributes int, stackSize int, address *any, parameter int) -> int
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue