Go to the documentation of this file.
11 #ifndef VK_PLATFORM_H_
12 #define VK_PLATFORM_H_
42 #define VKAPI_CALL __stdcall
43 #define VKAPI_PTR VKAPI_CALL
44 #elif defined(__ANDROID__) && defined(__ARM_ARCH) && __ARM_ARCH < 7
45 #error "Vulkan is not supported for the 'armeabi' NDK ABI"
46 #elif defined(__ANDROID__) && defined(__ARM_ARCH) && __ARM_ARCH >= 7 && defined(__ARM_32BIT_STATE)
51 #define VKAPI_ATTR __attribute__((pcs("aapcs-vfp")))
53 #define VKAPI_PTR VKAPI_ATTR
61 #if !defined(VK_NO_STDDEF_H)
63 #endif // !defined(VK_NO_STDDEF_H)
65 #if !defined(VK_NO_STDINT_H)
66 #if defined(_MSC_VER) && (_MSC_VER < 1600)
67 typedef signed __int8 int8_t;
68 typedef unsigned __int8 uint8_t;
69 typedef signed __int16 int16_t;
70 typedef unsigned __int16 uint16_t;
71 typedef signed __int32 int32_t;
72 typedef unsigned __int32 uint32_t;
73 typedef signed __int64 int64_t;
74 typedef unsigned __int64 uint64_t;
78 #endif // !defined(VK_NO_STDINT_H)