Skip to content

Commit 92defae

Browse files
committed
std.os.windows.WINAPI -> std.builtin.CallingConvention.winapi
1 parent e893a79 commit 92defae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

known-folders.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ fn getPathInner(
146146
dwFlags: std.os.windows.DWORD,
147147
hToken: ?std.os.windows.HANDLE,
148148
ppszPathL: *std.os.windows.PWSTR,
149-
) callconv(std.os.windows.WINAPI) std.os.windows.HRESULT;
150-
extern "ole32" fn CoTaskMemFree(pv: std.os.windows.LPVOID) callconv(std.os.windows.WINAPI) void;
149+
) callconv(.winapi) std.os.windows.HRESULT;
150+
extern "ole32" fn CoTaskMemFree(pv: std.os.windows.LPVOID) callconv(.winapi) void;
151151
};
152152

153153
switch (getWindowsFolderSpec(folder)) {

0 commit comments

Comments
 (0)