Implemented extern functions
This commit is contained in:
parent
38b573085e
commit
4803b81845
24 changed files with 304 additions and 169 deletions
|
@ -1,3 +1,8 @@
|
|||
extern kernel32 {
|
||||
VirtualAlloc(address Int, length Int, flags Int, protection Int)
|
||||
VirtualFree(address *Any, length Int, type Int) -> Bool
|
||||
}
|
||||
|
||||
mmap(address Int, length Int, protection Int, flags Int) -> *Any {
|
||||
return kernel32.VirtualAlloc(address, length, flags, protection)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue