Function draw2d::graphics::vulkan::ffi::to_os_ptrs[][src]

pub unsafe fn to_os_ptrs(
    strings: &[String]
) -> (Vec<CString>, Vec<*const c_char>)
Expand description

Build a vector of pointers to c-style strings from a vector of rust strings.

Unsafe because the returned vector of pointers is only valid while the cstrings are alive.