mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-21 00:46:47 +00:00
Remove bit_field type from Odin (keyword and dead runtime code still exists)
This commit is contained in:
@@ -9,10 +9,9 @@ Menu_Bar_Info :: struct {
|
||||
bar: Rect,
|
||||
menu: Hmenu,
|
||||
wnd_menu: Hwnd,
|
||||
using fields: bit_field {
|
||||
bar_focused: 1,
|
||||
focuses: 1,
|
||||
},
|
||||
fields: u8,
|
||||
// field.bar_focused: 1,
|
||||
// field.focuses: 1,
|
||||
}
|
||||
|
||||
Menu_Item_Info_A :: struct {
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user