Mercurial > games > semicongine
diff fuhtark_test/include/winapi/initoid.h @ 1500:91c8c3b7cbf0
add: futhark tests for generating vulkan api
| author | sam <sam@basx.dev> |
|---|---|
| date | Wed, 26 Nov 2025 21:36:48 +0700 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fuhtark_test/include/winapi/initoid.h Wed Nov 26 21:36:48 2025 +0700 @@ -0,0 +1,18 @@ +/** + * This file has no copyright assigned and is placed in the Public Domain. + * This file is part of the w64 mingw-runtime package. + * No warranty is given; refer to the file DISCLAIMER within this package. + */ +#define MAPI_PREFIX 0x2A,0x86,0x48,0x86,0xf7,0x14,0x03 + +#undef DEFINE_OID_1 +#define DEFINE_OID_1(name,b0,b1) EXTERN_C const BYTE __based(__segname("_CODE")) name[] = { MAPI_PREFIX,b0,b1 } + +#undef DEFINE_OID_2 +#define DEFINE_OID_2(name,b0,b1,b2) EXTERN_C const BYTE __based(__segname("_CODE")) name[] = { MAPI_PREFIX,b0,b1,b2 } + +#undef DEFINE_OID_3 +#define DEFINE_OID_3(name,b0,b1,b2,b3) EXTERN_C const BYTE __based(__segname("_CODE")) name[] = { MAPI_PREFIX,b0,b1,b2,b3 } + +#undef DEFINE_OID_4 +#define DEFINE_OID_4(name,b0,b1,b2,b3,b4) EXTERN_C const BYTE __based(__segname("_CODE")) name[] = { MAPI_PREFIX,b0,b1,b2,b3,b4 }
