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 {
|
||||
VirtualFree(address *any, size uint, type uint32) -> bool
|
||||
}
|
||||
|
||||
free(address []any) {
|
||||
kernel32.VirtualFree(address-8, len(address)+8, mem.decommit)
|
||||
}
|
||||
|
||||
extern {
|
||||
kernel32 {
|
||||
VirtualFree(address *any, size uint, type uint32) -> bool
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue