Fixed incorrect const values

This commit is contained in:
Eduard Urbach 2025-02-21 13:47:56 +01:00
parent 4dbfa80939
commit d5bcf340e9
Signed by: eduard
GPG key ID: 49226B848C78F6C8
22 changed files with 93 additions and 92 deletions

7
lib/mem/free_windows.q Normal file
View file

@ -0,0 +1,7 @@
extern kernel32 {
VirtualFree(address *any, size uint, type uint32) -> bool
}
free(address []any) -> int {
return kernel32.VirtualFree(address-8, len(address)+8, mem.decommit)
}