Modified const and extern to always use blocks
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user