Change 'std.os.HINSTANCE' to 'std.os.windows.HINSTANCE'

I got a compile error for this after playing around and doing 'vk.InstanceWrapper(std.enums.values(vk.InstanceCommand))', where the compiler thusly complained that there is no declaration for `HINSTANCE` inside `std.os`.
This commit is contained in:
InKryption
2021-11-03 21:26:49 +00:00
committed by GitHub
parent 58787a9dc3
commit 5afeb68873

View File

@@ -95,7 +95,7 @@ const foreign_types = std.ComptimeStringMap([]const u8, .{
.{ "RROutput", @typeName(c_ulong) },
.{ "wl_display", "opaque {}" },
.{ "wl_surface", "opaque {}" },
.{ "HINSTANCE", "std.os.HINSTANCE" },
.{ "HINSTANCE", "std.os.windows.HINSTANCE" },
.{ "HWND", "*opaque {}" },
.{ "HMONITOR", "*opaque {}" },
.{ "HANDLE", "std.os.HANDLE" },