1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#![deny(warnings)] #![allow(non_snake_case)] #![allow(clippy::unreadable_literal)] #![allow(non_upper_case_globals)] #![allow(non_camel_case_types)] mod vulkan_core; pub use vulkan_core::*; #[cfg(test)] mod tests { use super::*; use std::ptr; #[test] fn test_link() { let mut ex_count = 0; unsafe { assert_eq!( vkEnumerateInstanceExtensionProperties(ptr::null(), &mut ex_count, ptr::null_mut()), VK_SUCCESS ); } assert!(ex_count > 0); } }