#![allow(non_camel_case_types)]
use std::os::raw::{c_char, c_uint, c_ulong, c_void};
pub type VkInstance = *const c_void;
pub type VkPhysicalDevice = *const c_void;
pub type VkDevice = *const c_void;
pub type VkImage = u64;
pub type VkImageCreateFlags = u64;
pub type VkImageUsageFlags = u64;
pub type VkFormat = u32;
pub type VkInstanceCreateInfo = c_void;
pub type VkDeviceCreateInfo = c_void;
pub type VkAllocationCallbacks = c_void;
pub type VkResult = i32;
pub type VkSamplerMipmapMode = i32;
pub type VkSamplerAddressMode = i32;
pub type VkComponentSwizzle = i32;
pub type VkFilter = i32;
pub type VkGetInstanceProcAddr =
unsafe extern "system" fn(VkInstance, *const c_char) -> Option<unsafe extern "system" fn()>;
pub type GLXFBConfig = *mut c_void;
pub type GLXDrawable = c_ulong;
pub type GLXContext = *mut c_void;
pub type Display = std::os::raw::c_void;
pub type xcb_connection_t = c_void;
pub type xcb_glx_fbconfig_t = u32;
pub type xcb_visualid_t = u32;
pub type xcb_glx_drawable_t = u32;
pub type xcb_glx_context_t = u32;
pub type wl_display = c_void;
pub type jobject = *mut c_void;
#[cfg(windows)]
pub use windows::*;
#[cfg(windows)]
#[allow(non_snake_case)]
mod windows {
use std::os::raw::c_void;
pub type IUnknown = c_void;
pub type LARGE_INTEGER = i64;
pub type HDC = isize;
pub type HGLRC = isize;
pub type ID3D11Device = c_void;
pub type ID3D11Texture2D = c_void;
pub type ID3D12CommandQueue = c_void;
pub type ID3D12Device = c_void;
pub type ID3D12Resource = c_void;
pub type D3D_FEATURE_LEVEL = i32;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct LUID {
pub LowPart: u32,
pub HighPart: i32,
}
}
pub type EGLConfig = *mut c_void;
pub type EGLContext = *mut c_void;
pub type EGLDisplay = *mut c_void;
pub type EGLenum = c_uint;
pub type EglGetProcAddressMNDX =
unsafe extern "system" fn(*const c_char) -> Option<unsafe extern "system" fn()>;