aboutsummaryrefslogtreecommitdiff
path: root/core/sys/windows
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-02-19 11:31:14 +0000
committergingerBill <bill@gingerbill.org>2021-02-19 11:31:14 +0000
commitefdee0dafb2b7568242173cb4549aba32f6f9e75 (patch)
treecd1e66b987699f55f57c3c4f6097f1fb31cf0517 /core/sys/windows
parentf332cf498d83f4ef2da5ce1493347c1984cbf0d8 (diff)
Remove `bit_field` type from Odin (keyword and dead runtime code still exists)
Diffstat (limited to 'core/sys/windows')
-rw-r--r--core/sys/windows/kernel32.odin5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/sys/windows/kernel32.odin b/core/sys/windows/kernel32.odin
index 85269fd6e..bfbc1d2dc 100644
--- a/core/sys/windows/kernel32.odin
+++ b/core/sys/windows/kernel32.odin
@@ -655,7 +655,8 @@ WIN32_MEMORY_REGION_INFORMATION_u :: struct #raw_union {
WIN32_MEMORY_REGION_INFORMATION_u_s :: struct {
Bitfield: ULONG,
}
-WIN32_MEMORY_REGION_INFORMATION_u_s_Bitfield :: bit_field #align align_of(ULONG) {
+WIN32_MEMORY_REGION_INFORMATION_u_s_Bitfield :: distinct ULONG;
+/*bit_field #align align_of(ULONG) {
Private : 1-0,
MappedDataFile : 2-1,
MappedImage : 3-2,
@@ -663,7 +664,7 @@ WIN32_MEMORY_REGION_INFORMATION_u_s_Bitfield :: bit_field #align align_of(ULONG)
MappedPhysical : 5-4,
DirectMapped : 6-5,
Reserved : 32-6,
-}
+}*/
foreign kernel32 {
QueryVirtualMemoryInformation :: proc(