26hi_warning_ignore_clang(
"-Wunused-variable");
27hi_warning_ignore_clang(
"-Wreorder");
28hi_warning_ignore_clang(
"-Wunused-private-field");
30hi_warning_ignore_msvc(4127);
31hi_warning_ignore_msvc(6011);
32hi_warning_ignore_msvc(6386);
33hi_warning_ignore_msvc(6387);
34hi_warning_ignore_msvc(4701);
35hi_warning_ignore_msvc(4703);
36hi_warning_ignore_msvc(4189);
38#define VMA_IMPLEMENTATION
39#include <vma/vk_mem_alloc.h>
43#if HI_OPERATING_SYSTEM == HI_OS_WINDOWS
63#define hi_main(ARGC, ARGV) \
64 hi_main_detail(ARGC, ARGV); \
66 _In_ HINSTANCE hInstance, \
67 [[maybe_unused]] _In_opt_ HINSTANCE hPrevInstance, \
68 [[maybe_unused]] _In_ LPSTR lpCmdLine, \
71 auto [argc, argv] = hi::crt_start(hInstance, nShowCmd); \
72 auto const r = hi_main_detail(argc, argv); \
73 return hi::crt_finish(argc, argv, r); \
75 int hi_main_detail(ARGC, ARGV)
78#error "Need entry point for this architecture"
Rules for working with win32 headers.