commit 3eb3fbec9c455b4fcea144919ddcd0932cefb23a (tree) parent f785e4745d85f7056ab670989c5739b62b0df265 Author: Ryan Liptak <squeek502@hotmail.com> Date: Fri, 17 Oct 2025 00:40:17 -0700 windows: make FILE_DISPOSITION_ constants pub Diffstat:
| M | lib/std/os/windows.zig | | | 12 | ++++++------ |
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/lib/std/os/windows.zig b/lib/std/os/windows.zig @@ -3129,12 +3129,12 @@ pub const FILE_DISPOSITION_INFORMATION_EX = extern struct { Flags: ULONG, }; -const FILE_DISPOSITION_DO_NOT_DELETE: ULONG = 0x00000000; -const FILE_DISPOSITION_DELETE: ULONG = 0x00000001; -const FILE_DISPOSITION_POSIX_SEMANTICS: ULONG = 0x00000002; -const FILE_DISPOSITION_FORCE_IMAGE_SECTION_CHECK: ULONG = 0x00000004; -const FILE_DISPOSITION_ON_CLOSE: ULONG = 0x00000008; -const FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE: ULONG = 0x00000010; +pub const FILE_DISPOSITION_DO_NOT_DELETE: ULONG = 0x00000000; +pub const FILE_DISPOSITION_DELETE: ULONG = 0x00000001; +pub const FILE_DISPOSITION_POSIX_SEMANTICS: ULONG = 0x00000002; +pub const FILE_DISPOSITION_FORCE_IMAGE_SECTION_CHECK: ULONG = 0x00000004; +pub const FILE_DISPOSITION_ON_CLOSE: ULONG = 0x00000008; +pub const FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE: ULONG = 0x00000010; // FILE_RENAME_INFORMATION.Flags pub const FILE_RENAME_REPLACE_IF_EXISTS = 0x00000001;